Re: [PATCH net] ixgbe: Off by one in ixgbe_ipsec_tx()

2018-07-09 Thread Shannon Nelson
On 7/4/2018 2:53 AM, Dan Carpenter wrote: 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 Acked-by: S

Re: [PATCH net] ixgbe: Off by one in ixgbe_ipsec_tx()

2018-07-05 Thread David Miller
From: Dan Carpenter Date: Wed, 4 Jul 2018 12:53:37 +0300 > 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: D

[PATCH net] ixgbe: Off by one in ixgbe_ipsec_tx()

2018-07-04 Thread Dan Carpenter
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 diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipse