vxlan: unregister on namespace exit
authorstephen hemminger <stephen@networkplumber.org>
Thu, 18 Jul 2013 15:38:26 +0000 (08:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Jul 2013 00:07:25 +0000 (17:07 -0700)
commit372675a4a9ac0a0af962d44dadeea69926ce45e0
treef868cc003185ec9fda2144d810b00d4a223ebd1a
parentecb2cf1a6b63825a258ff4fe0d7f3070fbe4676b
vxlan: unregister on namespace exit

Fix memory leaks and other badness from VXLAN network namespace
teardown. When network namespace is removed, all the vxlan devices should
be unregistered (not closed).

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c