diff for duplicates of <20181130133315.GR30481@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index 8826e7d..7c4cc5f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -36,11 +36,11 @@ On Fri, Nov 30, 2018 at 07:32:36AM -0500, Neil Horman wrote: > > > > sctp_hash_params); > > > > > > > > - rhl_for_each_entry_rcu(t, tmp, list, node) -> > > > - if (ep = t->asoc->ep) +> > > > - if (ep == t->asoc->ep) > > > > + rhl_for_each_entry_rcu(t, tmp, list, node) { > > > > + if (!sctp_transport_hold(t)) > > > > + continue; -> > > > + if (ep = t->asoc->ep) { +> > > > + if (ep == t->asoc->ep) { > > > > + sctp_transport_put(t); > > > > return t; > > > > + } diff --git a/a/content_digest b/N1/content_digest index cda76f5..149d84e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020181130123236.GB24285@hmswarspite.think-freely.org\0" "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0" "Subject\0Re: [PATCHv2 net] sctp: hold transport before accessing its asoc in sctp_epaddr_lookup_transport\0" - "Date\0Fri, 30 Nov 2018 13:33:15 +0000\0" + "Date\0Fri, 30 Nov 2018 11:33:15 -0200\0" "To\0Neil Horman <nhorman@tuxdriver.com>\0" "Cc\0Xin Long <lucien.xin@gmail.com>" network dev <netdev@vger.kernel.org> @@ -50,11 +50,11 @@ "> > > > sctp_hash_params);\n" "> > > >\n" "> > > > - rhl_for_each_entry_rcu(t, tmp, list, node)\n" - "> > > > - if (ep = t->asoc->ep)\n" + "> > > > - if (ep == t->asoc->ep)\n" "> > > > + rhl_for_each_entry_rcu(t, tmp, list, node) {\n" "> > > > + if (!sctp_transport_hold(t))\n" "> > > > + continue;\n" - "> > > > + if (ep = t->asoc->ep) {\n" + "> > > > + if (ep == t->asoc->ep) {\n" "> > > > + sctp_transport_put(t);\n" "> > > > return t;\n" "> > > > + }\n" @@ -150,4 +150,4 @@ "> > > >\n" > > -95d7fb39ea9dc2298cbe984a535d707ac08ba527a2bdc9641a0d0eb76d36c46d +1c3a360167ff0be33ef1c614b7f6f64d14996145e3fa9d77a0e2aa38a69198a7
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.