aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2016-02-19 09:59:11 +0100
committerMarcel Holtmann <[email protected]>2016-02-23 20:29:39 +0100
commit07b0188adf7298bf80a9890d3e90f27e973623d3 (patch)
tree52b9db9f285661fff1a2642f208d781a6bd5b63c /tools/perf/scripts/python/check-perf-trace.py
parentaff3eaa03dc30d7f1ea07ab5931cd61a657c5974 (diff)
mac802154: fix mac header length check
I got report about that sometimes the WARN_ON occurs there which should never happen. I came to the conclusion that the mac header is there but inside the headroom of skb. The skb->len information doesn't contain the information about the headroom length and skb->len is lesser than two. We check now if the skb_mac_header pointer is set and the room between mac header pointer and tail pointer. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions