Pārlūkot izejas kodu

l2tp_eth: allow to set a specific mac address

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Alexander Couzens 10 gadi atpakaļ
vecāks
revīzija
fe1591224a
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      net/l2tp/l2tp_eth.c

+ 1 - 0
net/l2tp/l2tp_eth.c

@@ -126,6 +126,7 @@ static struct net_device_ops l2tp_eth_netdev_ops = {
 	.ndo_uninit		= l2tp_eth_dev_uninit,
 	.ndo_start_xmit		= l2tp_eth_dev_xmit,
 	.ndo_get_stats64	= l2tp_eth_get_stats64,
+	.ndo_set_mac_address	= eth_mac_addr,
 };
 
 static void l2tp_eth_dev_setup(struct net_device *dev)