Commit f39b683d authored by Committed by David S. Miller
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: 59259470 ("ixgbe: process the Tx ipsec offload") Reported-by: Michael Marley <firstname.lastname@example.org> Signed-off-by: Steffen Klassert <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 2 additions and 1 deletion