Skip to content

Commit

Permalink
nf_defrag_ipv6: fix oops on module unloading
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Konstantin Khlebnikov authored and David S. Miller committed Sep 27, 2012
1 parent 51af6d7 commit 4b7cc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/netfilter/nf_conntrack_reasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static int __net_init nf_ct_frag6_sysctl_register(struct net *net)
if (hdr == NULL)
goto err_reg;

net->ipv6.sysctl.frags_hdr = hdr;
net->nf_frag.sysctl.frags_hdr = hdr;
return 0;

err_reg:
Expand Down

0 comments on commit 4b7cc7f

Please sign in to comment.