Commit aabb9875 authored by Dave Kleikamp's avatar Dave Kleikamp Committed by David S. Miller
Browse files

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: default avatarDave Kleikamp <>
Signed-off-by: default avatarDavid S. Miller <>
parent e8e2bfd1
......@@ -1239,6 +1239,8 @@ static int vnet_port_remove(struct vio_dev *vdev)
dev_set_drvdata(&vdev->dev, NULL);
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment