From: Eric Dumazet Date: Tue, 2 Apr 2013 05:45:00 +0000 (+0000) Subject: bridge: remove a redundant synchronize_net() X-Git-Tag: MMI-PSA29.97-13-9~14469^2~260 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4a0b5ec12f0ffc3024616e6dc62cf8a04c54edcd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git bridge: remove a redundant synchronize_net() commit 00cfec37484761 (net: add a synchronize_net() in netdev_rx_handler_unregister()) allows us to remove the synchronized_net() call from del_nbp() Signed-off-by: Eric Dumazet Cc: Veaceslav Falico Cc: Stephen Hemminger Acked-by: Veaceslav Falico Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index ef1b91431c6b..f17fcb3097c2 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c @@ -148,7 +148,6 @@ static void del_nbp(struct net_bridge_port *p) dev->priv_flags &= ~IFF_BRIDGE_PORT; netdev_rx_handler_unregister(dev); - synchronize_net(); netdev_upper_dev_unlink(dev, br->dev);