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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jul 2013 20:35:52 +0000 (13:35 -0700)
commitaabb9875d02559ab9b928cd6f259a5cc4c21a589
tree1bd1f6de190ebb010b56301dc27a0bc613b6b83d
parente8e2bfd1033aadfee334419b7d11eeba1bc9cbed
sunvnet: vnet_port_remove must call unregister_netdev

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>
drivers/net/ethernet/sun/sunvnet.c