mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
nf_defrag_ipv6: fix oops on module unloading
fix copy-paste error introduced in linux-next commit "ipv6: add a new namespace for nf_conntrack_reasm" Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Cc: Amerigo Wang <amwang@redhat.com> Cc: David S. Miller <davem@davemloft.net> Acked-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
51af6d7c1f
commit
4b7cc7fc26
@ -106,7 +106,7 @@ static int __net_init nf_ct_frag6_sysctl_register(struct net *net)
|
|||||||
if (hdr == NULL)
|
if (hdr == NULL)
|
||||||
goto err_reg;
|
goto err_reg;
|
||||||
|
|
||||||
net->ipv6.sysctl.frags_hdr = hdr;
|
net->nf_frag.sysctl.frags_hdr = hdr;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err_reg:
|
err_reg:
|
||||||
|
Loading…
Reference in New Issue
Block a user