diff options
author | Eric Dumazet <edumazet@google.com> | 2013-04-02 01:45:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-02 12:10:58 -0400 |
commit | 4a0b5ec12f0ffc3024616e6dc62cf8a04c54edcd (patch) | |
tree | 2859202401cbf66ca308bec127b3d59ecb45bc19 /net/bridge | |
parent | a210576cf891e9e6d2c238eabcf5c1286b1e7526 (diff) |
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 <edumazet@google.com>
Cc: Veaceslav Falico <vfalico@redhat.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_if.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |||
148 | dev->priv_flags &= ~IFF_BRIDGE_PORT; | 148 | dev->priv_flags &= ~IFF_BRIDGE_PORT; |
149 | 149 | ||
150 | netdev_rx_handler_unregister(dev); | 150 | netdev_rx_handler_unregister(dev); |
151 | synchronize_net(); | ||
152 | 151 | ||
153 | netdev_upper_dev_unlink(dev, br->dev); | 152 | netdev_upper_dev_unlink(dev, br->dev); |
154 | 153 | ||