summaryrefslogtreecommitdiff
path: root/drivers/net/wireguard/socket.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-06-24 16:06:03 -0600
committerDavid S. Miller <davem@davemloft.net>2020-06-25 16:16:21 -0700
commitc39295d5e8146e0bdad534f7b88000df76878e8d (patch)
tree63bd3495a52939cd291c90852b721da286f80360 /drivers/net/wireguard/socket.h
parentd3043c89e415d3754799c60e1b9fef5f2842dd82 (diff)
downloadwireguard-linux-trimmed-c39295d5e8146e0bdad534f7b88000df76878e8d.tar.gz
wireguard-linux-trimmed-c39295d5e8146e0bdad534f7b88000df76878e8d.zip
wireguard: receive: account for napi_gro_receive never returning GRO_DROP
The napi_gro_receive function no longer returns GRO_DROP ever, making handling GRO_DROP dead code. This commit removes that dead code. Further, it's not even clear that device drivers have any business in taking action after passing off received packets; that's arguably out of their hands. Fixes: a8f1bc7bdea3 ("net: WireGuard secure network tunnel") Fixes: 6570bc79c0df ("net: core: use listified Rx for GRO_NORMAL in napi_gro_receive()") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireguard/socket.h')
0 files changed, 0 insertions, 0 deletions