Re: [PATCH ipsec-next] esp4/6: Fix GSO path for non-GSO SW-crypto packets

2017-04-19 Thread Steffen Klassert
On Wed, Apr 19, 2017 at 08:41:01AM +0300, il...@mellanox.com wrote: > From: Ilan Tayari > > If esp*_offload module is loaded, outbound packets take the > GSO code path, being encapsulated at layer 3, but encrypted > in layer 2. validate_xmit_xfrm calls esp*_xmit for that. > > esp*_xmit was wrong

[PATCH ipsec-next] esp4/6: Fix GSO path for non-GSO SW-crypto packets

2017-04-18 Thread ilant
From: Ilan Tayari If esp*_offload module is loaded, outbound packets take the GSO code path, being encapsulated at layer 3, but encrypted in layer 2. validate_xmit_xfrm calls esp*_xmit for that. esp*_xmit was wrongfully detecting these packets as going through hardware crypto offload, while in f