aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/tx.c
diff options
context:
space:
mode:
authorHuang Zijiang <huang.zijiang@zte.com.cn>2019-02-14 14:41:18 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-14 12:26:26 -0500
commitf3e5c07002b08f0e001015fd221187efb772afae (patch)
tree502e1cb13e4efc5de303ed927657ba587eabda3a /drivers/net/ethernet/sfc/tx.c
parentnet:dl2k: Replace dev_kfree_skb_irq by dev_consume_skb_irq (diff)
downloadlinux-dev-f3e5c07002b08f0e001015fd221187efb772afae.tar.xz
linux-dev-f3e5c07002b08f0e001015fd221187efb772afae.zip
net:ethernet:cadence: Replace dev_kfree_skb_any by dev_consume_skb_any
The skb should be freed by dev_consume_skb_any() in macb_pad_and_fcs() when *skb is still used. The *skb is be replaced by nskb, so the original *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>
Diffstat (limited to 'drivers/net/ethernet/sfc/tx.c')
0 files changed, 0 insertions, 0 deletions