]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Correct out-of-bound access in OOO history
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Tue, 14 Mar 2017 13:26:03 +0000 (15:26 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:43 +0000 (20:46 -0700)
commitb4589fe442b2063738abb2a9f95dee29ff4ea6be
treebc0f9d346fcd5e4ae94b6a370b7ac5f8b4aae653
parenta43f776e812e6e6fb0fb6181ecd45d1a41d5dbdf
qed: Correct out-of-bound access in OOO history

Orabug: 2593305326439680

Need to set the number of entries in database, otherwise the logic
would quickly surpass the array.

Fixes: 1d6cff4fca43 ("qed: Add iSCSI out of order packet handling")
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_ooo.c