aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-09-12 12:07:34 -0700
committerDavid S. Miller <davem@davemloft.net>2019-09-13 15:52:10 +0200
commit8f6617badcc96a582678ea36ea96490c5ff26eb4 (patch)
tree8d254820d274adb5a7c9f03abd63eae24f08a584 /net
parentsctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()' (diff)
downloadlinux-dev-8f6617badcc96a582678ea36ea96490c5ff26eb4.tar.xz
linux-dev-8f6617badcc96a582678ea36ea96490c5ff26eb4.zip
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: 7f68d4306701 ("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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions