diff for duplicates of <536B69E3.1090104@huawei.com> diff --git a/a/1.txt b/N1/1.txt index dbc9204..9f8721a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -16,7 +16,7 @@ On 2014/5/8 19:11, Neil Horman wrote: >> } >> >> net->sctp.sysctl_header = register_net_sysctl(net, "net/sctp", table); ->> + if (net->sctp.sysctl_header = NULL) { +>> + if (net->sctp.sysctl_header == NULL) { >> + if (!net_eq(net, &init_net)) >> + kfree(table); >> + return -ENOMEM; diff --git a/a/content_digest b/N1/content_digest index 42e7a9d..8807c1a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,13 +2,13 @@ "ref\020140508111126.GC9696@hmsreliant.think-freely.org\0" "From\0Wang Weidong <wangweidong1@huawei.com>\0" "Subject\0Re: [PATCH net-next] sctp: add a checking for sctp_sysctl_net_register\0" - "Date\0Thu, 08 May 2014 11:26:27 +0000\0" + "Date\0Thu, 8 May 2014 19:26:27 +0800\0" "To\0Neil Horman <nhorman@tuxdriver.com>\0" "Cc\0David Miller <davem@davemloft.net>" Vlad Yasevich <vyasevich@gmail.com> Daniel Borkmann <dborkman@redhat.com> - linux-sctp@vger.kernel.org - " netdev@vger.kernel.org\0" + <linux-sctp@vger.kernel.org> + " <netdev@vger.kernel.org>\0" "\00:1\0" "b\0" "On 2014/5/8 19:11, Neil Horman wrote:\n" @@ -29,7 +29,7 @@ ">> \t}\n" ">> \n" ">> \tnet->sctp.sysctl_header = register_net_sysctl(net, \"net/sctp\", table);\n" - ">> +\tif (net->sctp.sysctl_header = NULL) {\n" + ">> +\tif (net->sctp.sysctl_header == NULL) {\n" ">> +\t\tif (!net_eq(net, &init_net))\n" ">> +\t\t\tkfree(table);\n" ">> +\t\treturn -ENOMEM;\n" @@ -57,4 +57,4 @@ "> \n" > -b455d90a7cb3200bbf64cc2c7619541a1c2fd6760877a7c1023cb0c712618fb9 +ffc9f0a6b57f375af969f989eef90175fd9e2d3429f7c22e25446bb7d25e25db
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.