]> err.no Git - linux-2.6/blobdiff - net/netfilter/core.c
mm: page_remove_rmap comments on PageAnon
[linux-2.6] / net / netfilter / core.c
index ec05684c56d709aa226642cba6d5330efab41d82..292fa28146fb33cfe5beb77e70c95a4f8caa96e2 100644 (file)
@@ -168,7 +168,7 @@ int nf_hook_slow(int pf, unsigned int hook, struct sk_buff *skb,
 #ifdef CONFIG_NET_NS
        struct net *net;
 
-       net = indev == NULL ? outdev->nd_net : indev->nd_net;
+       net = indev == NULL ? dev_net(outdev) : dev_net(indev);
        if (net != &init_net)
                return 1;
 #endif