diff for duplicates of <20181128133814.GJ30481@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index 9968c93..64491cd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -35,7 +35,7 @@ On Wed, Nov 28, 2018 at 06:36:45PM +0900, Xin Long wrote: > > > > > > + rhl_for_each_entry_rcu(transport, tmp, list, node) { > > > > > > + if (!sctp_transport_hold(transport)) > > > > > > + continue; -> > > > > > if (transport->asoc->ep = t->asoc->ep) { +> > > > > > if (transport->asoc->ep == t->asoc->ep) { > > > > > > + sctp_transport_put(transport); > > > > > > rcu_read_unlock(); > > > > > > return -EEXIST; diff --git a/a/content_digest b/N1/content_digest index 431fbc1..5aad9f0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\0CADvbK_e0389F30z59c8Mt27iTic=_Jp62mzYcyJU6cOY-giicw@mail.gmail.com\0" "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0" "Subject\0Re: [PATCH net] sctp: hold transport before accessing its asoc in sctp_hash_transport\0" - "Date\0Wed, 28 Nov 2018 13:38:14 +0000\0" + "Date\0Wed, 28 Nov 2018 11:38:14 -0200\0" "To\0Xin Long <lucien.xin@gmail.com>\0" "Cc\0Neil Horman <nhorman@tuxdriver.com>" network dev <netdev@vger.kernel.org> @@ -51,7 +51,7 @@ "> > > > > > + rhl_for_each_entry_rcu(transport, tmp, list, node) {\n" "> > > > > > + if (!sctp_transport_hold(transport))\n" "> > > > > > + continue;\n" - "> > > > > > if (transport->asoc->ep = t->asoc->ep) {\n" + "> > > > > > if (transport->asoc->ep == t->asoc->ep) {\n" "> > > > > > + sctp_transport_put(transport);\n" "> > > > > > rcu_read_unlock();\n" "> > > > > > return -EEXIST;\n" @@ -135,4 +135,4 @@ "of doing it without adding at least another pointer in sctp_transport,\n" which wouldn't be justified considering the fact Xin mentions above. -d8ec2be5613de7ecc0d4e12408e614bb8cada84b165697c758b6291ee905481b +56459b819f4546b7e937df759489223e38611be6b6224e7a5003c495a4541746
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.