linux/drivers/net/ethernet/chelsio
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
..
cxgb chelsio: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
cxgb3 net: cxgb3: Cleanup in_interrupt() usage 2020-09-29 14:02:53 -07:00
cxgb4 cxgb4: set up filter action after rewrites 2020-10-26 16:18:18 -07:00
cxgb4vf cxgb4vf: convert to use DEFINE_SEQ_ATTRIBUTE macro 2020-09-16 17:39:00 -07:00
inline_crypto chelsio/chtls: fix always leaking ctrl_skb 2020-11-03 13:50:15 -08:00
libcxgb net/chelsio: Delete drive and module versions 2020-03-03 17:54:54 -08:00
Kconfig 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