From: Konstantin Khlebnikov Date: Tue, 25 Sep 2012 06:07:50 +0000 (+0000) Subject: nf_defrag_ipv6: fix oops on module unloading X-Git-Tag: upstream/snapshot3+hdmi~6565^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b7cc7fc26598914ba202d04d4196efb26b22e69;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Cc: Amerigo Wang Cc: David S. Miller Acked-by: Cong Wang Signed-off-by: David S. Miller --- diff --git a/net/ipv6/netfilter/nf_conntrack_reasm.c b/net/ipv6/netfilter/nf_conntrack_reasm.c index 1af12fde..18bd9bb 100644 --- a/net/ipv6/netfilter/nf_conntrack_reasm.c +++ b/net/ipv6/netfilter/nf_conntrack_reasm.c @@ -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: