summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorVinay Kumar Yadav <vinay.yadav@chelsio.com>2020-11-02 23:09:10 +0530
committerJakub Kicinski <kuba@kernel.org>2020-11-03 13:50:15 -0800
commitdbfe394dad33f99cf8458be50483ec40a5d29c34 (patch)
tree18f44a1ce043d0a11f969e485604a32e8b7f0cf7 /net
parent8080b462b6aa856ae05ea010441a702599e579f2 (diff)
downloadlinux-dbfe394dad33f99cf8458be50483ec40a5d29c34.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions