diff options
author | Alexander Lobakin <[email protected]> | 2020-06-23 16:51:36 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-23 15:01:16 -0700 |
commit | c221dd1831732449f844e03631a34fd21c2b9429 (patch) | |
tree | ddb58c60d53e528dcd0e89d24e5ae24708f5b51a /lib/mpi/mpi-add.c | |
parent | ec6c80590bde6b5dfa4970fffa3572f1acd313ca (diff) |
net: qed: reset ILT block sizes before recomputing to fix crashes
Sizes of all ILT blocks must be reset before ILT recomputing when
disabling clients, or memory allocation may exceed ILT shadow array
and provoke system crashes.
Fixes: 1408cc1fa48c ("qed: Introduce VFs")
Signed-off-by: Alexander Lobakin <[email protected]>
Signed-off-by: Igor Russkikh <[email protected]>
Signed-off-by: Michal Kalderon <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions