diff options
author | 2018-07-04 12:53:37 +0300 | |
---|---|---|
committer | 2018-07-12 08:03:09 -0700 | |
commit | c411104115e6821f26fc8f6de8b235ddf98de688 (patch) | |
tree | 422a5e32a12a5a4e722cff735bdcee8b3b7e2d05 /net/nsh/nsh.c | |
parent | ixgbe: Be more careful when modifying MAC filters (diff) | |
download | linux-dev-c411104115e6821f26fc8f6de8b235ddf98de688.tar.xz linux-dev-c411104115e6821f26fc8f6de8b235ddf98de688.zip |
ixgbe: Off by one in ixgbe_ipsec_tx()
The ipsec->tx_tbl[] has IXGBE_IPSEC_MAX_SA_COUNT elements so the > needs
to be changed to >= so we don't read one element beyond the end of the
array.
Fixes: 592594704761 ("ixgbe: process the Tx ipsec offload")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-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>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions