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

2019-03-21 Thread David Miller
From: Vakul Garg Date: Thu, 21 Mar 2019 11:59:57 + > 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 Ga

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

2019-03-21 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 --- v1 -> v2: Reverted consume_skb() to kfree_skb() in tls_sw_rel