summaryrefslogtreecommitdiff
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-06-24 16:06:03 -0600
committerMichael Bestas <mkbestas@lineageos.org>2020-12-31 19:40:45 +0200
commit9680908a8f39601ae7fec6025be3aa8acec3fd90 (patch)
tree2a8e9e1726207842207e72a148b5d3347d3e5614 /lib/genalloc.c
parent58d5e964c7ce6a44efb5f4d5dfb69aa3890c730c (diff)
UPSTREAM: 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: e7096c131e51 ("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> (cherry picked from commit df08126e3833e9dca19e2407db5f5860a7c194fb) Bug: 152722841 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I3fb4902fcb0e8bb522317518120651defed7804f
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions