Re: [PATCH] isdn:hisax: 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:39:59 +0800 > The skb should be freed by dev_consume_skb_any() in hfcpci_fill_fifo() > when bcs->tx_skb is still used. The bcs->tx_skb is be replaced by > skb_dequeue(&bcs->squeue), so the original bcs->tx_skb should > be consumed(not drop). > > Sign

[PATCH] isdn:hisax: 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() in hfcpci_fill_fifo() when bcs->tx_skb is still used. The bcs->tx_skb is be replaced by skb_dequeue(&bcs->squeue), so the original bcs->tx_skb should be consumed(not drop). Signed-off-by: Huang Zijiang --- drivers/isdn/hisax/hfc_pci.c | 2 +- 1 fi