diff options
author | 2020-11-02 23:09:10 +0530 | |
---|---|---|
committer | 2020-11-03 13:50:15 -0800 | |
commit | dbfe394dad33f99cf8458be50483ec40a5d29c34 (patch) | |
tree | 18f44a1ce043d0a11f969e485604a32e8b7f0cf7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | chelsio/chtls: fix memory leaks caused by a race (diff) | |
download | wireguard-linux-dbfe394dad33f99cf8458be50483ec40a5d29c34.tar.xz wireguard-linux-dbfe394dad33f99cf8458be50483ec40a5d29c34.zip |
chelsio/chtls: fix always leaking ctrl_skb
Correct skb refcount in alloc_ctrl_skb(), causing skb memleak
when chtls_send_abort() called with NULL skb.
it was always leaking the skb, correct it by incrementing skb
refs by one.
Fixes: cc35c88ae4db ("crypto : chtls - CPL handler definition")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Link: https://lore.kernel.org/r/20201102173909.24826-1-vinay.yadav@chelsio.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions