net: remove struct dst_entry::entry_size
[safe/jmp/linux-2.6] / net / decnet / af_decnet.c
index 61b7df5..3c23ab3 100644 (file)
@@ -2089,7 +2089,7 @@ static int dn_device_event(struct notifier_block *this, unsigned long event,
 {
        struct net_device *dev = (struct net_device *)ptr;
 
-       if (dev_net(dev) != &init_net)
+       if (!net_eq(dev_net(dev), &init_net))
                return NOTIFY_DONE;
 
        switch(event) {