summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-11-11 06:52:35 +0100
committerDavid S. Miller <davem@davemloft.net>2007-11-11 06:52:35 +0100
commit39aaac114e192bce500204f9c9e1fffff4c2b519 (patch)
tree621162d1a301677460c8724472ae187cfa4b2a1e /net/8021q/vlan.c
parent[VLAN]: Don't synchronize addresses while the vlan device is down (diff)
downloadlinux-39aaac114e192bce500204f9c9e1fffff4c2b519.tar.xz
linux-39aaac114e192bce500204f9c9e1fffff4c2b519.zip
[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>
Diffstat (limited to 'net/8021q/vlan.c')
-rw-r--r--net/8021q/vlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index 0fadbc6fbc3f..6567213959cb 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;