aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2011-11-24 14:47:36 +0100
committerJohn W. Linville <[email protected]>2011-11-28 14:43:56 -0500
commit4db4e0a17fb0e7b345b344cde141b252794c2f19 (patch)
tree13ce0ef31d02d0dafb377e510dda0e4be5b6fbe1 /tools/perf/scripts/python/netdev-times.py
parent4883993841638963fbae2f334899f29309466152 (diff)
mac80211: fix TX warning
Emmanuel reported that my previous patches to enable handing all fragments to drivers at once triggered the warning that the SKB queue wasn't empty. This is happening when we actually queue up some frames and don't hand them to the driver (queues are stopped). The reason for it is that my code that splices the frame(s) over to the pending queue didn't re-init the local queue, so skb_queue_empty() was false. Fix this by using the _init versions of the splicing. Also, convert the warning to WARN_ON_ONCE. Reported-by: Emmanuel Grumbach <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Tested-by: Emmanuel Grumbach <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions