l2tp_eth: allow to set a specific mac address
authorAlexander Couzens <lynxis@fe80.eu>
Wed, 19 Nov 2014 12:24:39 +0000 (13:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:16:38 +0000 (14:16 -0500)
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_eth.c

index edb78e6..781b3a2 100644 (file)
@@ -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)