]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: Add a skb_gro_flush_final helper.
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 15 Feb 2017 08:39:39 +0000 (09:39 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 15 Feb 2017 08:39:39 +0000 (09:39 +0100)
commit5f114163f2f5eb2edbb49c4d3e0b405c7a8a7e2a
tree6b47a6960f8928ec997ef99a5f1ef23e0b59a298
parentb0fcee825c0ad05057a97d1f4685e1b9e9d00c53
net: Add a skb_gro_flush_final helper.

Add a skb_gro_flush_final helper to prepare for  consuming
skbs in call_gro_receive. We will extend this helper to not
touch the skb if the skb is consumed by a gro callback with
a followup patch. We need this to handle the upcomming IPsec
ESP callbacks as they reinject the skb to the napi_gro_receive
asynchronous. The handler is used in all gro_receive functions
that can call the ESP gro handlers.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/linux/netdevice.h
net/ethernet/eth.c
net/ipv4/af_inet.c
net/ipv6/ip6_offload.c