OpenCloudOS-Kernel/drivers/net/wireguard
Jason A. Donenfeld 1fbc33b0a7 wireguard: socket: remove extra call to synchronize_net
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>
2020-02-16 19:21:56 -08:00
..
selftest
Makefile
allowedips.c
allowedips.h
cookie.c
cookie.h
device.c wireguard: send: account for mtu=0 devices 2020-02-16 19:21:56 -08:00
device.h
main.c
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 wireguard: send: account for mtu=0 devices 2020-02-16 19:21:56 -08:00
socket.c wireguard: socket: remove extra call to synchronize_net 2020-02-16 19:21:56 -08:00
socket.h
timers.c
timers.h
version.h