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

Re: [PATCH 54/54] if_vlan: Call dev_kfree_skb_any instead of kfree_skb.

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

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

Replace kfree_skb with dev_kfree_skb_any in vlan_insert_tag as
vlan_insert_tag can be called from hard irq context (netpoll)
and from other contexts.

dev_kfree_skb_any is used as vlan_insert_tag only frees the skb if the
skb can not be modified to insert a tag, in which case vlan_insert_tag
drops the skb.

Signed-off-by: "Eric W. Biederman" <redacted>
Acked-by: Eric Dumazet <edumazet@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help