aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSteffen Klassert <[email protected]>2017-05-03 08:44:27 +0200
committerSteffen Klassert <[email protected]>2017-05-04 07:27:26 +0200
commit0e78a87306a6f55b1c7bbafad1de62c3975953ca (patch)
treeaf330a0ac91610abacfa6bbb10eca116c34b55c5 /tools/perf/util/scripting-engines/trace-event-python.c
parentf411af6822182f84834c4881b825dd40534e7fe8 (diff)
esp4: Fix udpencap for local TCP packets.
Locally generated TCP packets are usually cloned, so we do skb_cow_data() on this packets. After that we need to reload the pointer to the esp header. On udpencap this header has an offset to skb_transport_header, so take this offset into account. Fixes: 67d349ed603 ("net/esp4: Fix invalid esph pointer crash") Fixes: fca11ebde3f0 ("esp4: Reorganize esp_output") Reported-by: Don Bowman <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions