vxlan: move cleanup to uninit
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Jun 2013 21:16:11 +0000 (14:16 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 24 Jun 2013 15:40:32 +0000 (08:40 -0700)
commitebf4063e869d959daf75efb4ef1c7bc80dcd4800
tree2dc421d4770f6a3f9000f4e3136c5c96303ca6e0
parent1c51a9159ddefa5119724a4c7da3fd3ef44b68d5
vxlan: move cleanup to uninit

Put destruction of per-cpu statistics removal in
ndo_uninit since it is created by ndo_init.
This also avoids any problems that might be cause by destructor
being called after module removed.

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