]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: off by one in ixgbevf_ipsec_tx()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 19 Sep 2018 10:35:29 +0000 (13:35 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 3 Oct 2018 19:29:34 +0000 (12:29 -0700)
commit19d9958a16c02d5b683449d8724257309ef12942
treee20a590093a5ca85beb63271c20d2d389ada0034
parent0b4a6556959ad754e1cf8fcb3354143c055a23ac
ixgbevf: off by one in ixgbevf_ipsec_tx()

The ipsec->tx_tbl[] array has IXGBE_IPSEC_MAX_SA_COUNT elements so the >
should be a >=.

Fixes: c0613c4990f3 ("ixgbevf: add VF IPsec offload code")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
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/ixgbevf/ipsec.c