diff options
| author | Eric Dumazet <[email protected]> | 2021-01-08 11:39:03 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-09 22:24:26 +0000 |
| commit | 1d11fa696733ffb9ac24771716b1b1b9953e5a48 (patch) | |
| tree | 9fbb7e7e3ec9b603d4619063fe31012e549ea9cf /net/switchdev/switchdev.c | |
| parent | ice: drop dead code in ice_receive_skb() (diff) | |
| download | kernel-1d11fa696733ffb9ac24771716b1b1b9953e5a48.tar.gz kernel-1d11fa696733ffb9ac24771716b1b1b9953e5a48.zip | |
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 <[email protected]>
Cc: Jesse Brandeburg <[email protected]>
Acked-by: Edward Cree <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
