]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: fix set selection when timeouts are requested
authorPatrick McHardy <kaber@trash.net>
Sun, 5 Apr 2015 12:41:05 +0000 (14:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 8 Apr 2015 14:58:26 +0000 (16:58 +0200)
commit0d3fe011901ddae8f576c3085b895bc2bd41b1c1
tree063e366b74841c5b17af92b18b953889f8f74d64
parent03bd403d0052c3ad633dd7aedaf23048796f90b1
netfilter: nf_tables: fix set selection when timeouts are requested

The NFT_SET_TIMEOUT flag is ignore in nft_select_set_ops, which may
lead to selection of a set implementation that doesn't actually
support timeouts.

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