summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-05-23 12:05:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-05-27 22:20:35 +0200
commit5b6743fb2c2a1fcb31c8b227558f537095dbece4 (patch)
tree3b29363975617ecbac76c530892c1bdafd00bb25 /include/uapi
parent05abe4456fa376040f6cc3cc6830d2e328723478 (diff)
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions