summaryrefslogtreecommitdiff
path: root/net/core/netpoll.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2014-04-01 12:20:24 -0700
committerDavid S. Miller <davem@davemloft.net>2014-04-01 17:53:36 -0400
commit574f7194f693cd80de96a39f0c43dbb346c38a15 (patch)
treee4a288169c3df023a77a70bc2538da2f3148792e /net/core/netpoll.c
parentf91ca783f11029940aa60a9a5aad4dce666e6414 (diff)
net: Add a test to see if a skb is freeable in irq context
Currently netpoll and skb_release_head_state assume that a skb is freeable in hard irq context except when skb->destructor is set. The reality is far from this. So add a function skb_irq_freeable to compute the full test and in the process be the living documentation of what the requirements are of actually freeing a skb in hard irq context. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions