From 7c84fba3f96c1aaac2f49d2b957ac6d44b516d41 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 10 Jun 2020 19:00:45 +0100 Subject: [PATCH] IPv4LL: free the arp state once announced for RFC 5227 kernels Otherwise the BPF process will hang around --- src/ipv4ll.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ipv4ll.c b/src/ipv4ll.c index e058f5aa..9d93ac11 100644 --- a/src/ipv4ll.c +++ b/src/ipv4ll.c @@ -174,6 +174,9 @@ ipv4ll_announced_arp(struct arp_state *astate) struct ipv4ll_state *state = IPV4LL_STATE(astate->iface); state->conflicts = 0; +#ifdef KERNEL_RFC5227 + arp_free(astate); +#endif } #ifndef KERNEL_RFC5227 -- 2.47.2