linux/drivers/net/ethernet/intel/ixgbevf
Jeff Kirsher 8f6617badc ixgbevf: Fix secpath usage for IPsec Tx offload
Port the same fix for ixgbe to ixgbevf.

The ixgbevf 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.

CC: Shannon Nelson <snelson@pensando.io>
Fixes: 7f68d43067 ("ixgbevf: enable VF IPsec offload operations")
Reported-by: Jonathan Tooker <jonathan@reliablehosting.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-13 15:52:10 +02:00
..
defines.h
ethtool.c ixgbevf: Use cached link state instead of re-reading the value for ethtool 2019-06-28 16:00:13 -07:00
ipsec.c
ipsec.h
ixgbevf.h
ixgbevf_main.c ixgbevf: Fix secpath usage for IPsec Tx offload 2019-09-13 15:52:10 +02:00
Makefile
mbx.c
mbx.h
regs.h
vf.c net: ixgbevf: fix a missing check of ixgbevf_write_msg_read_ack 2019-06-05 13:04:30 -07:00
vf.h