提交 418f275e 编写于 作者: E Eric Dumazet 提交者: David S. Miller

snap: remove one synchronize_net()

No need to wait for a rcu grace period after list insertion.
Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 19a76fa9
......@@ -147,7 +147,6 @@ struct datalink_proto *register_snap_client(const unsigned char *desc,
out:
spin_unlock_bh(&snap_lock);
synchronize_net();
return proto;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册