diff options
author | Patrick McHardy <kaber@trash.net> | 2007-11-10 21:52:35 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-11-10 21:52:35 -0800 |
commit | 39aaac114e192bce500204f9c9e1fffff4c2b519 (patch) | |
tree | 621162d1a301677460c8724472ae187cfa4b2a1e /net/8021q/vlan.c | |
parent | d932e04a5e7b146c5f9bf517714b986a432a7594 (diff) |
[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.c | 1 |
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; |