]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: fix GRO for !CONFIG_NETFILTER
authorSabrina Dubroca <sd@queasysnail.net>
Thu, 27 Apr 2017 10:03:37 +0000 (12:03 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 27 Apr 2017 10:20:19 +0000 (12:20 +0200)
commitc039b2f216cae2a76aaf409405e6e1f669d6f8d8
treeb8ef77d6f016f3107fcd1bb718a935e5f2a2e25c
parent119e1912531e4a7b1cfc2b4a61f18eed2ed053ff
xfrm: fix GRO for !CONFIG_NETFILTER

In xfrm_input() when called from GRO, async == 0, and we end up
skipping the processing in xfrm4_transport_finish(). GRO path will
always skip the NF_HOOK, so we don't need the special-case for
!NETFILTER during GRO processing.

Fixes: ecaae2a271dc ("esp: Add a software GRO codepath")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_input.c