aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/net/loopback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c
index e399f7b201e..a328da72833 100644
--- a/drivers/net/loopback.c
+++ b/drivers/net/loopback.c
@@ -225,6 +225,7 @@ struct net_device loopback_dev = {
| NETIF_F_LLTX
| NETIF_F_NETNS_LOCAL,
.ethtool_ops = &loopback_ethtool_ops,
+ .nd_net = &init_net,
};
/* Setup and register the loopback device. */