net-gro: remove GRO_DROP
authorEric Dumazet <edumazet@google.com>
Fri, 8 Jan 2021 11:39:03 +0000 (03:39 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Jan 2021 22:24:26 +0000 (14:24 -0800)
commit1d11fa696733ffb9ac24771716b1b1b9953e5a48
tree9fbb7e7e3ec9b603d4619063fe31012e549ea9cf
parentf73fc40327c04152c792f75388d5d505aaf78964
net-gro: remove GRO_DROP

GRO_DROP can only be returned from napi_gro_frags()
if the skb has not been allocated by a prior napi_get_frags()

Since drivers must use napi_get_frags() and test its result
before populating the skb with metadata, we can safely remove
GRO_DROP since it offers no practical use.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netdevice.h
net/core/dev.c