summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-04-01 15:17:29 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2016-04-14 01:30:38 +0300
commit13631bfc604161a9d69cd68991dff8603edd66f9 (patch)
tree8b638e793956c54bbbec8b8b8845e6f57aac3fcf /tools/perf/scripts/python
parentce683e5f9d045e5d67d1312a42b359cb2ab2a13c (diff)
downloadlinux-13631bfc604161a9d69cd68991dff8603edd66f9.tar.xz
netfilter: x_tables: validate all offsets and sizes in a rule
Validate that all matches (if any) add up to the beginning of the target and that each match covers at least the base structure size. The compat path should be able to safely re-use the function as the structures only differ in alignment; added a BUILD_BUG_ON just in case we have an arch that adds padding as well. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions