diff options
author | Anders K. Pedersen | 2016-10-09 15:49:02 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2016-10-17 17:29:39 +0200 |
commit | a8b1e36d0d1d6f51490e7adce35367ed6adb10e7 (patch) | |
tree | 9bcd909b21922c25606a71c414759717f38845a2 /Documentation/networking | |
parent | netfilter: xt_hashlimit: Add missing ULL suffixes for 64-bit constants (diff) | |
download | kernel-qcow2-linux-a8b1e36d0d1d6f51490e7adce35367ed6adb10e7.tar.gz kernel-qcow2-linux-a8b1e36d0d1d6f51490e7adce35367ed6adb10e7.tar.xz kernel-qcow2-linux-a8b1e36d0d1d6f51490e7adce35367ed6adb10e7.zip |
netfilter: nft_dynset: fix element timeout for HZ != 1000
With HZ=100 element timeout in dynamic sets (i.e. flow tables) is 10 times
higher than configured.
Add proper conversion to/from jiffies, when interacting with userspace.
I tested this on Linux 4.8.1, and it applies cleanly to current nf and
nf-next trees.
Fixes: 22fe54d5fefc ("netfilter: nf_tables: add support for dynamic set updates")
Signed-off-by: Anders K. Pedersen <akp@cohaesio.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions