commit | dbfe394dad33f99cf8458be50483ec40a5d29c34 | [log] [tgz] |
---|---|---|
author | Vinay Kumar Yadav <vinay.yadav@chelsio.com> | Mon Nov 02 23:09:10 2020 +0530 |
committer | Jakub Kicinski <kuba@kernel.org> | Tue Nov 03 13:50:15 2020 -0800 |
tree | 18f44a1ce043d0a11f969e485604a32e8b7f0cf7 | |
parent | 8080b462b6aa856ae05ea010441a702599e579f2 [diff] |
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>