From: Roy Marples Date: Wed, 10 Jun 2020 18:00:45 +0000 (+0100) Subject: IPv4LL: free the arp state once announced for RFC 5227 kernels X-Git-Tag: v9.1.2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c84fba3f96c1aaac2f49d2b957ac6d44b516d41;p=thirdparty%2Fdhcpcd.git IPv4LL: free the arp state once announced for RFC 5227 kernels Otherwise the BPF process will hang around --- 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