Re: [PATCH net-next] net/tls: Replace kfree_skb() with consume_skb()

2019-03-20 Thread Eric Dumazet
On 03/20/2019 06:51 PM, Vakul Garg wrote: > To free the skb in normal course of processing, consume_skb() should be > used. Only for failure paths, skb_free() is intended to be used. > > https://www.kernel.org/doc/htmldocs/networking/API-consume-skb.html > > Signed-off-by: Vakul Garg > --- .

[PATCH net-next] net/tls: Replace kfree_skb() with consume_skb()

2019-03-20 Thread Vakul Garg
To free the skb in normal course of processing, consume_skb() should be used. Only for failure paths, skb_free() is intended to be used. https://www.kernel.org/doc/htmldocs/networking/API-consume-skb.html Signed-off-by: Vakul Garg --- net/tls/tls_sw.c | 8 1 file changed, 4 insertions(