diff options
author | Zoltan Kiss <[email protected]> | 2014-07-18 19:08:04 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-07-20 20:56:06 -0700 |
commit | 1b860da0404a76af8533099ffe0a965490939369 (patch) | |
tree | efca7ccb372aa5ecf5774f06d3abe92af888dfce /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b42cc6e421e7bf74e545483aa34b99d2a2ca6d3a (diff) |
xen-netback: Fix releasing header slot on error path
This patch makes this function aware that the first frag and the header might
share the same ring slot. That could happen if the first slot is bigger than
PKT_PROT_LEN. Due to this the error path might release that slot twice or never,
depending on the error scenario.
xenvif_idx_release is also removed from xenvif_idx_unmap, and called separately.
Signed-off-by: Zoltan Kiss <[email protected]>
Reported-by: Armin Zentai <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions