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 14:16:38 -0500
commitfe1591224a1c454f4344d59e11ccd44577c00508 (patch)
treeb12e12e9bf6c9fbdd08a7f8daeb4ebb3e1728f60 /net/l2tp
parentd123cee2751836d82b170a293e86e7c7dfdd01e0 (diff)
downloadblackbird-obmc-linux-fe1591224a1c454f4344d59e11ccd44577c00508.tar.gz
blackbird-obmc-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)
OpenPOWER on IntegriCloud