summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/receive.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-02-14 23:57:23 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-16 19:21:56 -0800
commit5c80736eb84941b393338b8af1e032a829d78654 (patch)
tree45c25559bb0f029fdf9124ce469801077719a187 /drivers/net/wireguard/receive.c
parentc28f11bf68bb34f9f0ead94b9eee0123dc86aad5 (diff)
downloadwireguard-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/receive.c')
0 files changed, 0 insertions, 0 deletions