* [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
* Re: [PATCH] snap: remove one synchronize_net()
2011-05-23 8:41 [PATCH] snap: remove one synchronize_net() Eric Dumazet
@ 2011-05-23 20:30 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-05-23 20:30 UTC (permalink / raw)
To: eric.dumazet; +Cc: netdev
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Mon, 23 May 2011 10:41:48 +0200
> No need to wait for a rcu grace period after list insertion.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Applied.
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.