Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/renesas/ravb_main.c kernel/bpf/syscall.c net/ipv4/ipmr.c All three conflicts were cases of overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -180,9 +180,13 @@ void ovs_netdev_tunnel_destroy(struct vport *vport)
|
||||
if (vport->dev->priv_flags & IFF_OVS_DATAPATH)
|
||||
ovs_netdev_detach_dev(vport);
|
||||
|
||||
/* Early release so we can unregister the device */
|
||||
/* We can be invoked by both explicit vport deletion and
|
||||
* underlying netdev deregistration; delete the link only
|
||||
* if it's not already shutting down.
|
||||
*/
|
||||
if (vport->dev->reg_state == NETREG_REGISTERED)
|
||||
rtnl_delete_link(vport->dev);
|
||||
dev_put(vport->dev);
|
||||
rtnl_delete_link(vport->dev);
|
||||
vport->dev = NULL;
|
||||
rtnl_unlock();
|
||||
|
||||
|
Reference in New Issue
Block a user