git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git]
/
net
/
ipv6
/
reassembly.c
diff --git
a/net/ipv6/reassembly.c
b/net/ipv6/reassembly.c
index 3b3a95607125c559d039e21f5bdaba7e66fac48b..2cddea3bd6be9fcb935669ec26678e3b0c368b2e 100644
(file)
--- a/
net/ipv6/reassembly.c
+++ b/
net/ipv6/reassembly.c
@@
-708,7
+708,8
@@
static void ip6_frags_ns_sysctl_unregister(struct net *net)
table = net->ipv6.sysctl.frags_hdr->ctl_table_arg;
unregister_net_sysctl_table(net->ipv6.sysctl.frags_hdr);
- kfree(table);
+ if (!net_eq(net, &init_net))
+ kfree(table);
}
static struct ctl_table_header *ip6_ctl_header;