diff options
| -rw-r--r-- | net/netfilter/nft_dynset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nft_dynset.c b/net/netfilter/nft_dynset.c index 5cc3509659c6..b07a3fd9eeea 100644 --- a/net/netfilter/nft_dynset.c +++ b/net/netfilter/nft_dynset.c | |||
| @@ -81,7 +81,7 @@ static void nft_dynset_eval(const struct nft_expr *expr, | |||
| 81 | if (priv->op == NFT_DYNSET_OP_UPDATE && | 81 | if (priv->op == NFT_DYNSET_OP_UPDATE && |
| 82 | nft_set_ext_exists(ext, NFT_SET_EXT_EXPIRATION)) { | 82 | nft_set_ext_exists(ext, NFT_SET_EXT_EXPIRATION)) { |
| 83 | timeout = priv->timeout ? : set->timeout; | 83 | timeout = priv->timeout ? : set->timeout; |
| 84 | *nft_set_ext_expiration(ext) = jiffies + timeout; | 84 | *nft_set_ext_expiration(ext) = get_jiffies_64() + timeout; |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | if (sexpr != NULL) | 87 | if (sexpr != NULL) |
