summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2024-01-07 01:52:02 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2024-01-17 14:02:46 +0300
commit65b3bd600e15e00fb9e433bbc8aa55e42b202055 (patch)
treea6b3f3c4e36c111049127d4fc8b0da356835371b /tools/perf/scripts/python/gecko.py
parent0617c3de9b4026b87be12b0cb5c35f42c7c66fcb (diff)
downloadlinux-65b3bd600e15e00fb9e433bbc8aa55e42b202055.tar.xz
netfilter: nf_tables: validate .maxattr at expression registration
struct nft_expr_info allows to store up to NFT_EXPR_MAXATTR (16) attributes when parsing netlink attributes. Rise a warning in case there is ever a nft expression whose .maxattr goes beyond this number of expressions, in such case, struct nft_expr_info needs to be updated. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions