On Mon, Sep 28, 2020 at 10:59 PM Martin KaFai Lau kafai@fb.com wrote:
+static void compare_cookies(struct bpf_map *src, struct bpf_map *dst) +{
__u32 i, max_entries = bpf_map__max_entries(src);
int err, duration, src_fd, dst_fd;
This should have a compiler warning. "duration" is not initialized.
There was a warning. I noticed it while applying and fixed it up. Lorenz, please upgrade your compiler. This is not the first time such warning has been missed.