From: Alexander Couzens Date: Wed, 19 Nov 2014 12:24:39 +0000 (+0100) Subject: l2tp_eth: allow to set a specific mac address X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fe1591224a1c454f4344d59e11ccd44577c00508;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git l2tp_eth: allow to set a specific mac address Signed-off-by: Alexander Couzens Signed-off-by: David S. Miller --- 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)