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)
commit617cc646a7a09c7abf507981a81f441fc79b0511
treee20a590093a5ca85beb63271c20d2d389ada0034
parent6b27f3de223fb83b4c2b41c5becb1c5be77fe49e
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: 0062e7cc955e ("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