diff options
| author | Eric W. Biederman <[email protected]> | 2014-04-01 19:20:24 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-04-01 21:53:36 +0000 |
| commit | 574f7194f693cd80de96a39f0c43dbb346c38a15 (patch) | |
| tree | e4a288169c3df023a77a70bc2538da2f3148792e /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | Merge tag 'linux-can-fixes-for-3.15-20140401' of git://gitorious.org/linux-ca... (diff) | |
| download | kernel-574f7194f693cd80de96a39f0c43dbb346c38a15.tar.gz kernel-574f7194f693cd80de96a39f0c43dbb346c38a15.zip | |
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" <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
