From: wangweidong Date: Wed, 12 Feb 2014 01:44:43 +0000 (+0800) Subject: sctp: fix a missed .data initialization X-Git-Tag: v3.14-rc4~30^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22a1f5140ed69baa5906ce9b2b9143478f5a4da0;p=pandora-kernel.git sctp: fix a missed .data initialization As commit 3c68198e75111a90("sctp: Make hmac algorithm selection for cookie generation dynamic"), we miss the .data initialization. If we don't use the net_namespace, the problem that parts of the sysctl configuration won't be isolation and won't occur. In sctp_sysctl_net_register(), we register the sysctl for each net, in the for(), we use the 'table[i].data' as check condition, so when the 'i' is the index of sctp_hmac_alg, the data is NULL, then break. So add the .data initialization. Acked-by: Neil Horman Signed-off-by: Wang Weidong Signed-off-by: David S. Miller --- Reading git-diff-tree failed