diff for duplicates of <20181121175317.GE3601@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index b091df8..cce2fe6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -31,7 +31,7 @@ On Wed, Nov 21, 2018 at 03:47:33PM +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 72e447c..6dba98d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\0CADvbK_dChrmjeH9AcVvAkC6wsHnapvd+ddNF1-CxcuT02N=SCQ@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, 21 Nov 2018 17:53:17 +0000\0" + "Date\0Wed, 21 Nov 2018 15:53:17 -0200\0" "To\0Xin Long <lucien.xin@gmail.com>\0" "Cc\0Neil Horman <nhorman@tuxdriver.com>" network dev <netdev@vger.kernel.org> @@ -45,7 +45,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" @@ -117,4 +117,4 @@ "\n" I guess we can't know without actually testing this. -c5dd82808f58b412538858515cf79a0fce67d49e9dd2f2fdb7aabd26a259f80c +5bcc43c07568fa1be302482e42da701a11c520ab90ba9617ffa8f0ef5a435ae6
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.