From 39aaac114e192bce500204f9c9e1fffff4c2b519 Mon Sep 17 00:00:00 2001
From: Patrick McHardy <kaber@trash.net>
Date: Sat, 10 Nov 2007 21:52:35 -0800
Subject: [VLAN]: Allow setting mac address while device is up

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
---
 net/8021q/vlan.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'net/8021q/vlan.c')

diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index 0fadbc6fbc3..6567213959c 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -376,6 +376,7 @@ void vlan_setup(struct net_device *new_dev)
 	new_dev->init = vlan_dev_init;
 	new_dev->open = vlan_dev_open;
 	new_dev->stop = vlan_dev_stop;
+	new_dev->set_mac_address = vlan_set_mac_address;
 	new_dev->set_multicast_list = vlan_dev_set_multicast_list;
 	new_dev->change_rx_flags = vlan_change_rx_flags;
 	new_dev->destructor = free_netdev;
-- 
cgit v1.2.3-18-g5258