net/smc: Fix smc_link->llc_testlink_time overflow
[platform/kernel/linux-starfive.git] / net / netfilter / nft_objref.c
index 7e47ede..94b2327 100644 (file)
@@ -9,7 +9,7 @@
 #include <linux/netlink.h>
 #include <linux/netfilter.h>
 #include <linux/netfilter/nf_tables.h>
-#include <net/netfilter/nf_tables.h>
+#include <net/netfilter/nf_tables_core.h>
 
 #define nft_objref_priv(expr)  *((struct nft_object **)nft_expr_priv(expr))
 
@@ -110,7 +110,7 @@ static void nft_objref_map_eval(const struct nft_expr *expr,
        struct nft_object *obj;
        bool found;
 
-       found = set->ops->lookup(net, set, &regs->data[priv->sreg], &ext);
+       found = nft_set_do_lookup(net, set, &regs->data[priv->sreg], &ext);
        if (!found) {
                ext = nft_set_catchall_lookup(net, set);
                if (!ext) {