|
@@ -81,7 +81,7 @@ static void nft_dynset_eval(const struct nft_expr *expr,
|
|
if (priv->op == NFT_DYNSET_OP_UPDATE &&
|
|
if (priv->op == NFT_DYNSET_OP_UPDATE &&
|
|
nft_set_ext_exists(ext, NFT_SET_EXT_EXPIRATION)) {
|
|
nft_set_ext_exists(ext, NFT_SET_EXT_EXPIRATION)) {
|
|
timeout = priv->timeout ? : set->timeout;
|
|
timeout = priv->timeout ? : set->timeout;
|
|
- *nft_set_ext_expiration(ext) = jiffies + timeout;
|
|
|
|
|
|
+ *nft_set_ext_expiration(ext) = get_jiffies_64() + timeout;
|
|
}
|
|
}
|
|
|
|
|
|
if (sexpr != NULL)
|
|
if (sexpr != NULL)
|