sunvnet: vnet_port_remove must call unregister_netdev
authorDave Kleikamp <dave.kleikamp@oracle.com>
Mon, 1 Jul 2013 21:49:22 +0000 (16:49 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jul 2013 23:18:40 +0000 (16:18 -0700)
commit83e460923c7640fe6af1a1b386513dcc26fe7251
tree282783460017da7495d487b59120f02b347bad49
parent639e5920a9ae14b1eefc44a8740f5d0f816adb9a
sunvnet: vnet_port_remove must call unregister_netdev

[ Upstream commit aabb9875d02559ab9b928cd6f259a5cc4c21a589 ]

The missing call to unregister_netdev() leaves the interface active
after the driver is unloaded by rmmod.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/sunvnet.c