diff options
author | 2016-11-28 12:56:40 +0200 | |
---|---|---|
committer | 2016-11-29 19:46:00 -0500 | |
commit | 95c2027bfeda21a28eb245121e6a249f38d0788e (patch) | |
tree | 12a0611996a2975e5e1c527f034eabe1d65e84d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf/samples: Fix PT_REGS_IP on s390x and use it (diff) | |
download | wireguard-linux-95c2027bfeda21a28eb245121e6a249f38d0788e.tar.xz wireguard-linux-95c2027bfeda21a28eb245121e6a249f38d0788e.zip |
net/sched: pedit: make sure that offset is valid
Add a validation function to make sure offset is valid:
1. Not below skb head (could happen when offset is negative).
2. Validate both 'offset' and 'at'.
Signed-off-by: Amir Vadai <amir@vadai.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions