Re: [PATCH net-next] tls: Fixed a memory leak during socket close

2018-09-25 Thread David Miller
From: Vakul Garg Date: Tue, 25 Sep 2018 20:21:51 +0530 > During socket close, if there is a open record with tx context, it needs > to be be freed apart from freeing up plaintext and encrypted scatter > lists. This patch frees up the open record if present in tx context. > > Also

[PATCH net-next] tls: Fixed a memory leak during socket close

2018-09-25 Thread Vakul Garg
During socket close, if there is a open record with tx context, it needs to be be freed apart from freeing up plaintext and encrypted scatter lists. This patch frees up the open record if present in tx context. Also tls_free_both_sg() has been renamed to tls_free_open_rec() to indicate that the