geneve/vxlan: offload ports on register/unregister events
authorSabrina Dubroca <sd@queasysnail.net>
Fri, 21 Jul 2017 10:49:33 +0000 (12:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 20:52:59 +0000 (13:52 -0700)
commit04584957b5f9b036caa9603525e12d1840d42d58
treee4255fa3fe60e72404faf07f2ce5c1469e219cd7
parent2d2b13fcfff101daa5388c5edac0ae5e3bcc6878
geneve/vxlan: offload ports on register/unregister events

This improves consistency of handling when moving a netdev to another
netns. Most drivers currently do a full reset when the device goes up,
so that will flush the offload state anyway.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/geneve.c
drivers/net/vxlan.c