Thread (2 messages) flat view 2 messages, 2 authors, 2016-10-20

Re: [PATCH -next] dwc_eth_qos: use dev_kfree_skb_any instead of dev_kfree_skb

From: David Miller <davem@davemloft.net>
Date: 2016-10-20 18:48:47

From: Wei Yongjun <redacted>
Date: Thu, 20 Oct 2016 16:59:49 +0000
From: Wei Yongjun <redacted>

Replace dev_kfree_skb with dev_kfree_skb_any in dwceqos_start_xmit()
which can be called from hard irq context (netpoll) and from
other contexts. dwceqos_start_xmit() only frees skbs that it has
dropped.

This is detected by Coccinelle semantic patch.

Signed-off-by: Wei Yongjun <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help