diff options
author | Vinay Kumar Yadav <vinay.yadav@chelsio.com> | 2020-11-02 23:09:10 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-03 13:50:15 -0800 |
commit | dbfe394dad33f99cf8458be50483ec40a5d29c34 (patch) | |
tree | 18f44a1ce043d0a11f969e485604a32e8b7f0cf7 /net/xfrm | |
parent | 8080b462b6aa856ae05ea010441a702599e579f2 (diff) | |
download | lwn-dbfe394dad33f99cf8458be50483ec40a5d29c34.tar.gz lwn-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 'net/xfrm')
0 files changed, 0 insertions, 0 deletions