]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: add generic macros to check for generation mask
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 12 Jun 2016 16:07:07 +0000 (18:07 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Jun 2016 09:03:24 +0000 (11:03 +0200)
commit2e4f3d3376d2778f202fd93b0d613b1db090aa61
tree0f99c3e00db57fb1a2995261fc2414e02373ebc1
parent53a4a414a0a437ac379f36e92b50928af11d1342
netfilter: nf_tables: add generic macros to check for generation mask

Thus, we can reuse these to check the genmask of any object type, not
only rules. This is required now that tables, chain and sets will get a
generation mask field too in follow up patches.

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