commit | db31d330e8b0ad8926725eb2af6f6422c07ca7ab | [log] [tgz] |
---|---|---|
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | Tue Mar 14 15:26:03 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 14 11:37:05 2017 -0700 |
tree | 05801e55b20135562c305118b5cd6e500b0eb17b | |
parent | 1df2adedcce17ad4a39fba74f0e2b611f797fe10 [diff] |
qed: Correct out-of-bound access in OOO history 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>