Skip to content

Commit

Permalink
bridge: remove a redundant synchronize_net()
Browse files Browse the repository at this point in the history
commit 00cfec3 (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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Apr 2, 2013
1 parent a210576 commit 4a0b5ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/bridge/br_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4a0b5ec

Please sign in to comment.