summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-05-22 22:41:48 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-23 16:29:24 -0400
commit418f275ed5b03c48e0e6c3401466660dfe894f76 (patch)
tree16c318621cde90673844cdc66a89532cab0cc6a9 /net
parent19a76fa9593bad778dabeeec1f6c2df6effe9ca3 (diff)
downloadlinux-3.10-418f275ed5b03c48e0e6c3401466660dfe894f76.tar.gz
linux-3.10-418f275ed5b03c48e0e6c3401466660dfe894f76.tar.bz2
linux-3.10-418f275ed5b03c48e0e6c3401466660dfe894f76.zip
snap: remove one synchronize_net()
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>
Diffstat (limited to 'net')
-rw-r--r--net/802/psnap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/802/psnap.c b/net/802/psnap.c
index 21cde8fd579..db6baf7cf6e 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;
}