xfrm: Prepare the GRO codepath for hardware offloading.
authorSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Apr 2017 08:07:49 +0000 (10:07 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 14 Apr 2017 08:07:49 +0000 (10:07 +0200)
commitbcd1f8a45e7d5804e4f7bd78a91348cfce3cb74a
tree16bbfdf78347e85972881ae8de3c32c7a775fff2
parentf1bd7d659ef0ba0f18c6f6afe7bbbd2410acffa0
xfrm: Prepare the GRO codepath for hardware offloading.

On IPsec hardware offloading, we already get a secpath with
valid state attached when the packet enters the GRO handlers.
So check for hardware offload and skip the state lookup in this
case.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/esp4_offload.c
net/ipv6/esp6_offload.c
net/xfrm/xfrm_input.c