aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/qed
diff options
context:
space:
mode:
authorAlexander Lobakin <alobakin@marvell.com>2020-07-23 01:10:34 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-22 18:19:03 -0700
commit96ca4c50c7f711531d4fa238906f8abbbd0ff517 (patch)
tree68b99966ced35c21e2a24afc21b224b9fdb6b7ae /include/linux/qed
parentqed: move chain methods to a separate file (diff)
downloadlinux-dev-96ca4c50c7f711531d4fa238906f8abbbd0ff517.tar.xz
linux-dev-96ca4c50c7f711531d4fa238906f8abbbd0ff517.zip
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