aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorzhuyj <[email protected]>2014-11-26 02:25:58 +0000
committerDavid S. Miller <[email protected]>2014-11-26 17:27:04 +0000
commit73cf0e923d685a6a1b7754c7d29cc14944f271d9 (patch)
tree43d2b09629396564e59aee6cce747df9578fced8 /net/tipc/node.c
parentMerge branch 'remcsum_adjust' (diff)
downloadkernel-73cf0e923d685a6a1b7754c7d29cc14944f271d9.tar.gz
kernel-73cf0e923d685a6a1b7754c7d29cc14944f271d9.zip
ipv6: Remove unnecessary test
The "init_net" test in function addrconf_exit_net is introduced in commit 44a6bd29 [Create ipv6 devconf-s for namespaces] to avoid freeing init_net. In commit c900a800 [ipv6: fix bad free of addrconf_init_net], function addrconf_init_net will allocate memory for every net regardless of init_net. In this case, it is unnecessary to make "init_net" test. CC: Hong Zhiguo <[email protected]> CC: Octavian Purdila <[email protected]> CC: Pavel Emelyanov <[email protected]> CC: Cong Wang <[email protected]> Suggested-by: David S. Miller <[email protected]> Signed-off-by: Zhu Yanjun <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions