]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/s390/net/qeth_l3_main.c
[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.
[net-next-2.6.git] / drivers / s390 / net / qeth_l3_main.c
index a856cb47fc7839d35518b7b599a2b5042ead0aa7..21c439046b3c81a6e56b44dfaf686b14bd86d4b1 100644 (file)
@@ -3250,7 +3250,7 @@ static int qeth_l3_ip_event(struct notifier_block *this,
        struct qeth_ipaddr *addr;
        struct qeth_card *card;
 
-       if (dev->nd_net != &init_net)
+       if (dev_net(dev) != &init_net)
                return NOTIFY_DONE;
 
        QETH_DBF_TEXT(trace, 3, "ipevent");