summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2014-11-19 15:24:39 +0300
committerDavid S. Miller <davem@davemloft.net>2014-11-21 22:16:38 +0300
commitfe1591224a1c454f4344d59e11ccd44577c00508 (patch)
treeb12e12e9bf6c9fbdd08a7f8daeb4ebb3e1728f60 /net
parentd123cee2751836d82b170a293e86e7c7dfdd01e0 (diff)
downloadlinux-fe1591224a1c454f4344d59e11ccd44577c00508.tar.xz
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')
-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)