veth: Do a better job cleaning up on rmmod
authorJustin Pettit <jpettit@nicira.com>
Wed, 21 Apr 2010 05:46:04 +0000 (22:46 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 22 Apr 2010 10:37:49 +0000 (03:37 -0700)
commitb9f9f37fb7a85dbe58a260f6e1b745a17db66dd5
treeee65c7b8629fd153253e1f7d2de1efea843dec78
parentea32310720d9d07eeb668e404a5062bd9bce832d
veth: Do a better job cleaning up on rmmod

The veth driver doesn't clean itself up very well when removed.  This
commit destroys any outstanding veth devices and then unregisters its
sysfs entry.
datapath/linux-2.6/compat-2.6/veth.c