Re: [PATCH 2/2] net: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-14 Thread David Miller
From: Huang Zijiang Date: Thu, 14 Feb 2019 14:42:13 +0800 > The skb should be freed by dev_consume_skb_any() efx_tx_tso_fallback() > when skb is still used. The skb is be replaced by segments, so the > original skb should be consumed(not drop). > > Signed-off-by: Huang Zijiang Applied with Ser

Re: [PATCH 2/2] net: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-14 Thread Bert Kenward
On 14/02/2019 06:42, Huang Zijiang wrote: > The skb should be freed by dev_consume_skb_any() efx_tx_tso_fallback() > when skb is still used. The skb is be replaced by segments, so the > original skb should be consumed(not drop). > > Signed-off-by: Huang Zijiang Sergei's commit message fixups loo

Re: [PATCH 2/2] net: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-14 Thread Sergei Shtylyov
Hello! On 14.02.2019 9:42, Huang Zijiang wrote: The skb should be freed by dev_consume_skb_any() efx_tx_tso_fallback() ^ in? when skb is still used. The skb is be replaced by segments, so the ^^ will? orig

[PATCH 2/2] net: Replace dev_kfree_skb_any by dev_consume_skb_any

2019-02-13 Thread Huang Zijiang
The skb should be freed by dev_consume_skb_any() efx_tx_tso_fallback() when skb is still used. The skb is be replaced by segments, so the original skb should be consumed(not drop). Signed-off-by: Huang Zijiang --- drivers/net/ethernet/sfc/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-