]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: fix out of order operation on module removal
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Jun 2013 21:16:09 +0000 (14:16 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 24 Jun 2013 15:40:32 +0000 (08:40 -0700)
commit48f200953a4fff46ae688688264988af9f3fcb42
treecfcc9cb5b14102d08291595a0f8e25909bb80c5f
parent7325d14a2a2fcc5b14bcd624dbe79956ff4973d0
vxlan: fix out of order operation on module removal

If vxlan is removed with active vxlan's it would crash because
rtnl_link_unregister (which calls vxlan_dellink), was invoked
before unregister_pernet_device (which calls vxlan_stop).

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/vxlan.c