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>
此提交包含在:
Eric Dumazet
2011-05-22 22:41:48 +00:00
提交者 David S. Miller
父節點 19a76fa959
當前提交 418f275ed5

查看文件

@@ -147,7 +147,6 @@ struct datalink_proto *register_snap_client(const unsigned char *desc,
out:
spin_unlock_bh(&snap_lock);
synchronize_net();
return proto;
}