diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-04 12:53:37 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:07:08 +0200 |
| commit | c8ba74daecc47af30293c06c9df1b944909684af (patch) | |
| tree | adab9b4f939c16a087b8d5d72a814b71451e433a /tools/perf/scripts/python/stackcollapse.py | |
| parent | da9135048ed7ff854fda1e7cb5df5aa2273bb624 (diff) | |
ixgbe: Off by one in ixgbe_ipsec_tx()
[ Upstream commit c411104115e6821f26fc8f6de8b235ddf98de688 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
