]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_set_hash: skip fixed hash if timeout is specified
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Mar 2018 15:07:38 +0000 (16:07 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Mar 2018 11:23:33 +0000 (12:23 +0100)
commit9c352fd59e9214eaa52eb84f4780a465b1cde3c2
tree59ca50f5f8df73d9a0f7c82339ca5d1287ad632d
parente151090dcd79cb22f216485c638dd10b427c9f1b
netfilter: nft_set_hash: skip fixed hash if timeout is specified

Fixed hash supports to timeouts, so skip it. Otherwise, userspace hits
EOPNOTSUPP.

Fixes: 1f92da0c50de ("netfilter: nft_set_hash: add non-resizable hashtable implementation")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_set_hash.c