diff options
author | Alexander Lobakin <alobakin@marvell.com> | 2020-07-23 01:10:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-23 04:19:03 +0300 |
commit | 96ca4c50c7f711531d4fa238906f8abbbd0ff517 (patch) | |
tree | 68b99966ced35c21e2a24afc21b224b9fdb6b7ae /include/linux/qed | |
parent | a08c9b2c7ce52709f1915dae0bcd02070f39104e (diff) | |
download | linux-96ca4c50c7f711531d4fa238906f8abbbd0ff517.tar.xz |
qed: prevent possible double-frees of the chains
Zero-initialize chain on qed_chain_free(), so it couldn't be freed
twice and provoke undefined behaviour.
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
0 files changed, 0 insertions, 0 deletions