summaryrefslogtreecommitdiffstats
path: root/include/net
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/net
parentnetfilter: nf_tables: allow to register flowtable with no devices (diff)
downloadlinux-5b6743fb2c2a1fcb31c8b227558f537095dbece4.tar.xz
linux-5b6743fb2c2a1fcb31c8b227558f537095dbece4.zip
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/net')
0 files changed, 0 insertions, 0 deletions