summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2019-09-12 13:01:44 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-12 12:43:14 +0100
commitf39b683d35dfa93a58f1b400a8ec0ff81296b37c (patch)
treedf54cf71c691c9941ad3b29cda254a9ebf7ad273 /net
parenta21b7f0cff1906a93a0130b74713b15a0b36481d (diff)
ixgbe: Fix secpath usage for IPsec TX offload.
The ixgbe driver currently does IPsec TX offloading based on an existing secpath. However, the secpath can also come from the RX side, in this case it is misinterpreted for TX offload and the packets are dropped with a "bad sa_idx" error. Fix this by using the xfrm_offload() function to test for TX offload. Fixes: 592594704761 ("ixgbe: process the Tx ipsec offload") Reported-by: Michael Marley <michael@michaelmarley.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions