]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
isdn:hisax: Replace dev_kfree_skb_any by dev_consume_skb_any
authorHuang Zijiang <huang.zijiang@zte.com.cn>
Thu, 14 Feb 2019 06:39:59 +0000 (14:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 17:22:03 +0000 (12:22 -0500)
commit189a10f0108a8ebaf1e2f3d8bf68aeb5ebd30109
treecaa24796a1017eefb4fcb0596a1441576df4d1e1
parenta37d45b6fa1113f96200abdfdb0d8c454c97a30e
isdn:hisax: Replace dev_kfree_skb_any by dev_consume_skb_any

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 <huang.zijiang@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/hfc_pci.c