projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19a76fa
)
snap: remove one synchronize_net()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Sun, 22 May 2011 22:41:48 +0000
(22:41 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 23 May 2011 20:29:24 +0000
(16:29 -0400)
No need to wait for a rcu grace period after list insertion.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/802/psnap.c
patch
|
blob
|
blame
|
history
diff --git
a/net/802/psnap.c
b/net/802/psnap.c
index 21cde8fd5795310a823367783cc3f4cd9eb92d0c..db6baf7cf6e97779bdf5405aa55cfe282107a5fe 100644
(file)
--- 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;
}