]> 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)
commit256ee979cd53c282b674fa5a3d3df3a24a12fe1e
tree063e366b74841c5b17af92b18b953889f8f74d64
parente0205e621f8acf4ec95ce3bbd12426631497b514
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