diff for duplicates of <502B150F.8040402@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 33f6735..19d317a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -57,8 +57,8 @@ Acked-by: Vlad Yasevich <vyasevich@gmail.com> > { > struct sctp_endpoint *retval = NULL; > -> - if (htons(ep->base.bind_addr.port) = laddr->v4.sin_port) { -> + if ((htons(ep->base.bind_addr.port) = laddr->v4.sin_port) && +> - if (htons(ep->base.bind_addr.port) == laddr->v4.sin_port) { +> + if ((htons(ep->base.bind_addr.port) == laddr->v4.sin_port) && > + net_eq(sock_net(ep->base.sk), net)) { > if (sctp_bind_addr_match(&ep->base.bind_addr, laddr, > sctp_sk(ep->base.sk))) diff --git a/a/content_digest b/N1/content_digest index 2f73c9c..2aaf19c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\087obmnq2y2.fsf_-_@xmission.com\0" "From\0Vlad Yasevich <vyasevich@gmail.com>\0" "Subject\0Re: [PATCH net-next 2/9] sctp: Make the endpoint hashtable handle multiple network namespaces\0" - "Date\0Wed, 15 Aug 2012 03:18:39 +0000\0" + "Date\0Tue, 14 Aug 2012 23:18:39 -0400\0" "To\0Eric W. Biederman <ebiederm@xmission.com>\0" "Cc\0David Miller <davem@davemloft.net>" linux-sctp@vger.kernel.org @@ -76,8 +76,8 @@ "> {\n" "> \tstruct sctp_endpoint *retval = NULL;\n" ">\n" - "> -\tif (htons(ep->base.bind_addr.port) = laddr->v4.sin_port) {\n" - "> +\tif ((htons(ep->base.bind_addr.port) = laddr->v4.sin_port) &&\n" + "> -\tif (htons(ep->base.bind_addr.port) == laddr->v4.sin_port) {\n" + "> +\tif ((htons(ep->base.bind_addr.port) == laddr->v4.sin_port) &&\n" "> +\t net_eq(sock_net(ep->base.sk), net)) {\n" "> \t\tif (sctp_bind_addr_match(&ep->base.bind_addr, laddr,\n" "> \t\t\t\t\t sctp_sk(ep->base.sk)))\n" @@ -170,4 +170,4 @@ ">\n" > -dfef9d6fde312a6f904c18aeac41fbf8c1edc94fba00eb865c0c4c342f6220b6 +4aea0fc48ed358580abc05f9918eb30cbc0c978cbadf0cda3e282b650a9125b3
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.