]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: no need for esp trailer if GSO
authorShannon Nelson <shannon.nelson@oracle.com>
Fri, 16 Mar 2018 18:09:06 +0000 (11:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Mar 2018 21:55:10 +0000 (14:55 -0700)
commit1d4fd7bca8695d1a4b680653a736194b6d57e45f
tree529bf418419615b74cc0639aad18e6e687ff2865
parent116ee155d16ac9cd7abacc8675e2ff1042cedb54
ixgbe: no need for esp trailer if GSO

There is no need to calculate the trailer length if we're doing
a GSO/TSO, as there is no trailer added to the packet data.
Also, don't bother clearing the flags field as it was already
cleared earlier.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c