diff for duplicates of <20181130120515.GM3601@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index fbfefcc..f8e2394 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -36,7 +36,7 @@ Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> > + 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 4a4be41..851809d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\092d9c2b54a60494142909f1fbb8c187aa317ab60.1543474168.git.lucien.xin@gmail.com\0" "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0" "Subject\0Re: [PATCHv2 net] sctp: hold transport before accessing its asoc in sctp_hash_transport\0" - "Date\0Fri, 30 Nov 2018 12:05:15 +0000\0" + "Date\0Fri, 30 Nov 2018 10:05:15 -0200\0" "To\0Xin Long <lucien.xin@gmail.com>\0" "Cc\0network dev <netdev@vger.kernel.org>" linux-sctp@vger.kernel.org @@ -47,7 +47,7 @@ "> +\trhl_for_each_entry_rcu(transport, tmp, list, node) {\n" "> +\t\tif (!sctp_transport_hold(transport))\n" "> +\t\t\tcontinue;\n" - "> \t\tif (transport->asoc->ep = t->asoc->ep) {\n" + "> \t\tif (transport->asoc->ep == t->asoc->ep) {\n" "> +\t\t\tsctp_transport_put(transport);\n" "> \t\t\trcu_read_unlock();\n" "> \t\t\treturn -EEXIST;\n" @@ -61,4 +61,4 @@ "> 2.1.0\n" > -46e535a0ead6de606b3db28ab3df75d8dd18102fefdc6c932d108e4ae67c6b52 +842210b1d79b2b6a6bc4e4761a0700a170f3da4f29306b6198df655a03f0280f
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.