commit 78dd20131ae6f940b202831fc3140fe30a7a65dd
parent f8b2610046189e070073af7f85072faf6f622fc8
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Fri, 14 Sep 2018 22:35:36 +0200
wired: Fix issue with destroying EAPoL seesions list on IFF_LOWER_UP
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wired/ethdev.c b/wired/ethdev.c
@@ -451,7 +451,7 @@ static void newlink_notify(const struct ifinfomsg *ifi, int bytes)
pae_write(dev, pae_group_addr,
eapol_start, sizeof(eapol_start));
else if (!lower_up && dev->lower_up)
- l_queue_destroy(dev->eapol_sessions, eapol_free);
+ l_queue_clear(dev->eapol_sessions, eapol_free);
dev->active = active;
dev->lower_up = lower_up;