changeset 5352:599c75a0ac56 draft

IPv4LL: free the arp state once announced for RFC 5227 kernels Otherwise the BPF process will hang around
author Roy Marples <roy@marples.name>
date Wed, 10 Jun 2020 19:00:45 +0100
parents 00a3204a58af
children ff496874348c
files src/ipv4ll.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ipv4ll.c	Wed Jun 10 16:32:04 2020 +0100
+++ b/src/ipv4ll.c	Wed Jun 10 19:00:45 2020 +0100
@@ -174,6 +174,9 @@
 	struct ipv4ll_state *state = IPV4LL_STATE(astate->iface);
 
 	state->conflicts = 0;
+#ifdef KERNEL_RFC5227
+	arp_free(astate);
+#endif
 }
 
 #ifndef KERNEL_RFC5227