netfilter: nf_tables: allow to register flowtable with no devices
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 20 May 2020 13:44:37 +0000 (15:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 27 May 2020 20:20:34 +0000 (22:20 +0200)
commit05abe4456fa376040f6cc3cc6830d2e328723478
tree031cbb369daacfb41b1d9df757b4c7d272ec809f
parentabadb2f865d72a223d691fc68e006943ecadf0d9
netfilter: nf_tables: allow to register flowtable with no devices

A flowtable might be composed of dynamic interfaces only. Such dynamic
interfaces might show up at a later stage. This patch allows users to
register a flowtable with no devices. Once the dynamic interface becomes
available, the user adds the dynamic devices to the flowtable.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c