Displaying 1 result from an estimated 1 matches for "netdev_release".
Did you mean:
gntdev_release
2012 Jul 27
1
[Bridge] [PATCH 4/7] bridge: call NETDEV_RELEASE notifier in br_del_if()
...tions(-)
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index e1144e1..d243914 100644
--- a/net/bridge/br_if.c
+++ b/net/bridge/br_if.c
@@ -427,6 +427,7 @@ int br_del_if(struct net_bridge *br, struct net_device *dev)
if (!p || p->br != br)
return -EINVAL;
+ call_netdevice_notifiers(NETDEV_RELEASE, br->dev);
del_nbp(p);
spin_lock_bh(&br->lock);
--
1.7.7.6