aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSven Eckelmann <[email protected]>2016-06-26 11:16:12 +0200
committerDavid S. Miller <[email protected]>2016-06-29 04:01:48 -0400
commit3b55e4422087f9f7b241031d758a0c65584e4297 (patch)
tree4e5911b53be006d88af805e05eb1e2b6cf6b1535 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbaceced93274ff2f846eae991664f9094425ffa8 (diff)
batman-adv: Fix ICMP RR ethernet access after skb_linearize
The skb_linearize may reallocate the skb. This makes the calculated pointer for ethhdr invalid. But it the pointer is used later to fill in the RR field of the batadv_icmp_packet_rr packet. Instead re-evaluate eth_hdr after the skb_linearize+skb_cow to fix the pointer and avoid the invalid read. Fixes: da6b8c20a5b8 ("batman-adv: generalize batman-adv icmp packet handling") Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Marek Lindner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions