]> 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)
commitda2de16674c900083f82bc7b0d5d71c54a6880dc
tree529bf418419615b74cc0639aad18e6e687ff2865
parentab9b43608c0afbd8ddd42c6cb631c3aef58dc9fc
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