Merge tag 'soc-fixes-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-block.git] / net / netfilter / nft_compat.c
index c16172427622e4f87eaf82f110b1994f3f92c800..5284cd2ad532713368db0cd56bdf17baf1e0ed4d 100644 (file)
@@ -324,7 +324,8 @@ static int nft_extension_dump_info(struct sk_buff *skb, int attr,
        return 0;
 }
 
-static int nft_target_dump(struct sk_buff *skb, const struct nft_expr *expr)
+static int nft_target_dump(struct sk_buff *skb,
+                          const struct nft_expr *expr, bool reset)
 {
        const struct xt_target *target = expr->ops->data;
        void *info = nft_expr_priv(expr);
@@ -572,12 +573,14 @@ nla_put_failure:
        return -1;
 }
 
-static int nft_match_dump(struct sk_buff *skb, const struct nft_expr *expr)
+static int nft_match_dump(struct sk_buff *skb,
+                         const struct nft_expr *expr, bool reset)
 {
        return __nft_match_dump(skb, expr, nft_expr_priv(expr));
 }
 
-static int nft_match_large_dump(struct sk_buff *skb, const struct nft_expr *e)
+static int nft_match_large_dump(struct sk_buff *skb,
+                               const struct nft_expr *e, bool reset)
 {
        struct nft_xt_match_priv *priv = nft_expr_priv(e);