diff for duplicates of <20181130141852.GS30481@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index ee4cb5b..e247b59 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -38,11 +38,11 @@ On Fri, Nov 30, 2018 at 09:05:06AM -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 fb0c38f..3cfcca3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\020181130140506.GE24285@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 14:18:52 +0000\0" + "Date\0Fri, 30 Nov 2018 12:18:52 -0200\0" "To\0Neil Horman <nhorman@tuxdriver.com>\0" "Cc\0Xin Long <lucien.xin@gmail.com>" network dev <netdev@vger.kernel.org> @@ -54,11 +54,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" @@ -184,4 +184,4 @@ "> > > > \n" > > -33347bc29bf8f266a9d4b639f8d58791f71c417641fa242301fcf478650b7d82 +3a0a0a670279ef268c4f81932d27611ca7bc2056e9cd27403e20f18fbf694cba
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.