summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-05-23 13:05:22 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2020-05-27 23:20:35 +0300
commit5b6743fb2c2a1fcb31c8b227558f537095dbece4 (patch)
tree3b29363975617ecbac76c530892c1bdafd00bb25 /tools/perf/scripts/python/exported-sql-viewer.py
parent05abe4456fa376040f6cc3cc6830d2e328723478 (diff)
downloadlinux-5b6743fb2c2a1fcb31c8b227558f537095dbece4.tar.xz
netfilter: nf_tables: skip flowtable hooknum and priority on device updates
On device updates, the hooknum and priority attributes are not required. This patch makes optional these two netlink attributes. Moreover, bail out with EOPNOTSUPP if userspace tries to update the hooknum and priority for existing flowtables. While at this, turn EINVAL into EOPNOTSUPP in case the hooknum is not ingress. EINVAL is reserved for missing netlink attribute / malformed netlink messages. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions