1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/chelsio/inline_crypto/chtls
Vinay Kumar Yadav dbfe394dad 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: cc35c88ae4 ("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>
2020-11-03 13:50:15 -08:00
..
chtls.h chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00
chtls_cm.c chelsio/chtls: fix always leaking ctrl_skb 2020-11-03 13:50:15 -08:00
chtls_cm.h chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00
chtls_hw.c chelsio/chtls: fix memory leaks caused by a race 2020-11-03 13:49:37 -08:00
chtls_io.c chelsio/chtls: fix tls record info to user 2020-10-23 18:34:10 -07:00
chtls_main.c chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00
Makefile chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00