aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/l2tp/l2tp_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_eth.c b/net/l2tp/l2tp_eth.c
index 781b3a226ba7..4b552873b556 100644
--- a/net/l2tp/l2tp_eth.c
+++ b/net/l2tp/l2tp_eth.c
@@ -74,7 +74,7 @@ static int l2tp_eth_dev_init(struct net_device *dev)
74 74
75 priv->dev = dev; 75 priv->dev = dev;
76 eth_hw_addr_random(dev); 76 eth_hw_addr_random(dev);
77 memset(&dev->broadcast[0], 0xff, 6); 77 eth_broadcast_addr(dev->broadcast);
78 dev->qdisc_tx_busylock = &l2tp_eth_tx_busylock; 78 dev->qdisc_tx_busylock = &l2tp_eth_tx_busylock;
79 return 0; 79 return 0;
80} 80}