Thread (288 messages) 288 messages, 13 authors, 2014-04-01

Re: [PATCH 44/54] tilepro: Call dev_consume_skb_any instead of kfree_skb.

flat view

From: Eric Dumazet <hidden>
Date: 2014-03-25 20:43:48

On Mon, 2014-03-24 at 23:05 -0700, Eric W. Biederman wrote:
From: "Eric W. Biederman" <redacted>

Replace kfree_skb with dev_consume_skb_any in tile_net_tx and
tile_net_tx_tso which can be called in hard irq and other contexts.

At the point where the skbs are freed a packet has been successfully
transmitted so dev_consume_skb_any is the appropriate variant to use.

Signed-off-by: "Eric W. Biederman" <redacted>
---
 drivers/net/ethernet/tile/tilepro.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by: Eric Dumazet <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help