commit | c8607e020014cf11a61601a0005270bad81cabdf | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Wed Jul 06 14:53:06 2016 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Jul 08 14:55:14 2016 +0200 |
tree | 9e2c1565bebf826797ff8998124548f828f4b318 | |
parent | 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 [diff] |
netfilter: nft_ct: fix expiration getter We need to compute timeout.expires - jiffies, not the other way around. Add a helper, another patch can then later change more places in conntrack code where we currently open-code this. Will allow us to only change one place later when we remove per-ct timer. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>