]> err.no Git - linux-2.6/blobdiff - net/ipv4/netfilter/ip_queue.c
Merge branch 'for-linus' of git://git.o-hand.com/linux-mfd
[linux-2.6] / net / ipv4 / netfilter / ip_queue.c
index aa33a4a7a7154e52de8f57e9906d4f6d62d15f63..432ce9d1c11c48268bad47c14345305756aca95c 100644 (file)
@@ -477,7 +477,7 @@ ipq_rcv_dev_event(struct notifier_block *this,
 {
        struct net_device *dev = ptr;
 
-       if (dev_net(dev) != &init_net)
+       if (!net_eq(dev_net(dev), &init_net))
                return NOTIFY_DONE;
 
        /* Drop any packets associated with the downed device */