netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] bridge: remove a redundant synchronize_net()
@ 2013-04-02 15:45 Eric Dumazet
  2013-04-02 15:58 ` Veaceslav Falico
  0 siblings, 1 reply; 11+ messages in thread
From: Eric Dumazet @ 2013-04-02 15:45 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Veaceslav Falico, Stephen Hemminger

From: Eric Dumazet <edumazet@google.com>

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>
---
 net/bridge/br_if.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c
index ef1b914..f17fcb3 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);
 

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-04-04 16:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-02 15:45 [PATCH net-next] bridge: remove a redundant synchronize_net() Eric Dumazet
2013-04-02 15:58 ` Veaceslav Falico
2013-04-02 16:12   ` David Miller
2013-04-02 16:27     ` Eric Dumazet
2013-04-02 18:19       ` David Miller
2013-04-04 15:35       ` Jiri Pirko
2013-04-04 15:44         ` Eric Dumazet
2013-04-04 16:03           ` Eric Dumazet
2013-04-04 16:08             ` Jiri Pirko
2013-04-04 16:07           ` Jiri Pirko
2013-04-04 16:18             ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).