summaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2014-11-19 13:24:39 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-21 20:16:38 +0100
commitfe1591224a1c454f4344d59e11ccd44577c00508 (patch)
treeb12e12e9bf6c9fbdd08a7f8daeb4ebb3e1728f60 /net/l2tp
parentMerge branch 'phy_device_type' (diff)
downloadlinux-fe1591224a1c454f4344d59e11ccd44577c00508.tar.xz
linux-fe1591224a1c454f4344d59e11ccd44577c00508.zip
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>
Diffstat (limited to 'net/l2tp')
-rw-r--r--net/l2tp/l2tp_eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/l2tp/l2tp_eth.c b/net/l2tp/l2tp_eth.c
index edb78e69efe4..781b3a226ba7 100644
--- a/net/l2tp/l2tp_eth.c
+++ b/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)