netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] snap: remove one synchronize_net()
@ 2011-05-23  8:41 Eric Dumazet
  2011-05-23 20:30 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Dumazet @ 2011-05-23  8:41 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

No need to wait for a rcu grace period after list insertion.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
 net/802/psnap.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/net/802/psnap.c b/net/802/psnap.c
index 21cde8f..db6baf7 100644
--- a/net/802/psnap.c
+++ b/net/802/psnap.c
@@ -147,7 +147,6 @@ struct datalink_proto *register_snap_client(const unsigned char *desc,
 out:
 	spin_unlock_bh(&snap_lock);
 
-	synchronize_net();
 	return proto;
 }
 



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

end of thread, other threads:[~2011-05-23 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-23  8:41 [PATCH] snap: remove one synchronize_net() Eric Dumazet
2011-05-23 20:30 ` David Miller

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).