diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-14 23:57:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-16 19:21:56 -0800 |
commit | 5c80736eb84941b393338b8af1e032a829d78654 (patch) | |
tree | 45c25559bb0f029fdf9124ce469801077719a187 /drivers/net/wireguard/netlink.h | |
parent | c28f11bf68bb34f9f0ead94b9eee0123dc86aad5 (diff) | |
download | wireguard-linux-trimmed-5c80736eb84941b393338b8af1e032a829d78654.tar.gz wireguard-linux-trimmed-5c80736eb84941b393338b8af1e032a829d78654.zip |
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>
Diffstat (limited to 'drivers/net/wireguard/netlink.h')
0 files changed, 0 insertions, 0 deletions