diff options
| author | Florian Westphal <[email protected]> | 2016-04-01 14:17:29 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2016-04-14 00:30:38 +0200 |
| commit | 13631bfc604161a9d69cd68991dff8603edd66f9 (patch) | |
| tree | 8b638e793956c54bbbec8b8b8845e6f57aac3fcf /tools/perf/scripts/python | |
| parent | ce683e5f9d045e5d67d1312a42b359cb2ab2a13c (diff) | |
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions