netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] l2tp_eth: allow to set a specific mac address
@ 2014-11-19 12:24 Alexander Couzens
  2014-11-21 19:16 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Couzens @ 2014-11-19 12:24 UTC (permalink / raw)
  To: netdev; +Cc: Alexander Couzens

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
---
 net/l2tp/l2tp_eth.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/l2tp/l2tp_eth.c b/net/l2tp/l2tp_eth.c
index edb78e6..781b3a2 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)
-- 
2.1.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] l2tp_eth: allow to set a specific mac address
  2014-11-19 12:24 [PATCH] l2tp_eth: allow to set a specific mac address Alexander Couzens
@ 2014-11-21 19:16 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-11-21 19:16 UTC (permalink / raw)
  To: lynxis; +Cc: netdev

From: Alexander Couzens <lynxis@fe80.eu>
Date: Wed, 19 Nov 2014 13:24:39 +0100

> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

Looks good, applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-21 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 12:24 [PATCH] l2tp_eth: allow to set a specific mac address Alexander Couzens
2014-11-21 19:16 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).