mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
1fbc33b0a7
synchronize_net() is a wrapper around synchronize_rcu(), so there's no point in having synchronize_net and synchronize_rcu back to back, despite the documentation comment suggesting maybe it's somewhat useful, "Wait for packets currently being received to be done." This commit removes the extra call. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Suggested-by: Eric Dumazet <eric.dumazet@gmail.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
selftest | ||
allowedips.c | ||
allowedips.h | ||
cookie.c | ||
cookie.h | ||
device.c | ||
device.h | ||
main.c | ||
Makefile | ||
messages.h | ||
netlink.c | ||
netlink.h | ||
noise.c | ||
noise.h | ||
peer.c | ||
peer.h | ||
peerlookup.c | ||
peerlookup.h | ||
queueing.c | ||
queueing.h | ||
ratelimiter.c | ||
ratelimiter.h | ||
receive.c | ||
send.c | ||
socket.c | ||
socket.h | ||
timers.c | ||
timers.h | ||
version.h |