aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorBen Menchaca <[email protected]>2010-03-24 05:05:02 +0000
committerDavid S. Miller <[email protected]>2010-03-26 20:16:23 -0700
commita6d36d5689b1806a3365c909192e9f03a43a632b (patch)
tree19de0640cf7f9c8cf634ac2d1c334094303e5bd8 /tools/perf/util/trace-event-scripting.c
parentaf06393bbde6e8d474622a0517cffc662676e3fe (diff)
gianfar: fix undo of reserve()
Fix undo of reserve() before RX recycle gfar_new_skb reserve()s space in the SKB to align it. If an error occurs, and the skb needs to be returned to the RX recycle queue, the current code attempts to reset head, but did not reset tail. This patch remembers the alignment amount, and reverses the reserve() when needed. Signed-off-by: Ben Menchaca <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions