Re: [PATCH net] chelsio/chtls: fix memory leaks in CPL handlers

2020-10-27 Thread Jakub Kicinski
On Mon, 26 Oct 2020 01:12:29 +0530 Vinay Kumar Yadav wrote: > CPL handler functions chtls_pass_open_rpl() and > chtls_close_listsrv_rpl() should return CPL_RET_BUF_DONE > so that caller function will do skb free to avoid leak. > > Fixes: cc35c88ae4db ("crypto : chtls - CPL handler definition") > S

[PATCH net] chelsio/chtls: fix memory leaks in CPL handlers

2020-10-25 Thread Vinay Kumar Yadav
CPL handler functions chtls_pass_open_rpl() and chtls_close_listsrv_rpl() should return CPL_RET_BUF_DONE so that caller function will do skb free to avoid leak. Fixes: cc35c88ae4db ("crypto : chtls - CPL handler definition") Signed-off-by: Vinay Kumar Yadav --- .../chelsio/inline_crypto/chtls/ch