diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-12-31 07:00:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-03 04:58:13 -0500 |
commit | 6602d0078974628c5fe76850ac9fa489d091a4e9 (patch) | |
tree | 10498d3e5ecf0567a335ed11158887768a5b6baf /drivers/net | |
parent | 3ec8e9f085bcaef0de1077f555c2c5102c223390 (diff) |
vxlan: allow live mac address change
The VXLAN pseudo-device doesn't care if the mac address changes
when device is up.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/vxlan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 40f2cc135a49..656230e0d18c 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c | |||
@@ -1191,6 +1191,7 @@ static void vxlan_setup(struct net_device *dev) | |||
1191 | 1191 | ||
1192 | dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM; | 1192 | dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM; |
1193 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; | 1193 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; |
1194 | dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; | ||
1194 | 1195 | ||
1195 | spin_lock_init(&vxlan->hash_lock); | 1196 | spin_lock_init(&vxlan->hash_lock); |
1196 | 1197 | ||