unsigned int key_count);
 
 struct bpf_flow_dissector;
-bool bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx,
-                     __be16 proto, int nhoff, int hlen, unsigned int flags);
+u32 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx,
+                    __be16 proto, int nhoff, int hlen, unsigned int flags);
 
 bool __skb_flow_dissect(const struct net *net,
                        const struct sk_buff *skb,
 
        bpf_test_timer_enter(&t);
        do {
                retval = bpf_flow_dissect(prog, &ctx, eth->h_proto, ETH_HLEN,
-                                         size, flags);
+                                         size, flags) == BPF_OK;
        } while (bpf_test_timer_continue(&t, 1, repeat, &ret, &duration));
        bpf_test_timer_leave(&t);
 
 
        }
 }
 
-bool bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx,
-                     __be16 proto, int nhoff, int hlen, unsigned int flags)
+u32 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx,
+                    __be16 proto, int nhoff, int hlen, unsigned int flags)
 {
        struct bpf_flow_keys *flow_keys = ctx->flow_keys;
        u32 result;
        flow_keys->thoff = clamp_t(u16, flow_keys->thoff,
                                   flow_keys->nhoff, hlen);
 
-       return result == BPF_OK;
+       return result;
 }
 
 static bool is_pppoe_ses_hdr_valid(const struct pppoe_hdr *hdr)
                        };
                        __be16 n_proto = proto;
                        struct bpf_prog *prog;
+                       u32 result;
 
                        if (skb) {
                                ctx.skb = skb;
                        }
 
                        prog = READ_ONCE(run_array->items[0].prog);
-                       ret = bpf_flow_dissect(prog, &ctx, n_proto, nhoff,
-                                              hlen, flags);
+                       result = bpf_flow_dissect(prog, &ctx, n_proto, nhoff,
+                                                 hlen, flags);
                        __skb_flow_bpf_to_target(&flow_keys, flow_dissector,
                                                 target_container);
                        rcu_read_unlock();
-                       return ret;
+                       return result == BPF_OK;
                }
                rcu_read_unlock();
        }