diff --git a/net/icmpv6/icmpv6_autoconfig.c b/net/icmpv6/icmpv6_autoconfig.c index 43bc5ca3b9..804fc6d574 100644 --- a/net/icmpv6/icmpv6_autoconfig.c +++ b/net/icmpv6/icmpv6_autoconfig.c @@ -392,6 +392,12 @@ got_lladdr: ret = icmpv6_send_message(dev, false); if (ret < 0) { + /* Remove our wait structure from the list (we may no longer be + * at the head of the list). + */ + + icmpv6_rwait_cancel(¬ify); + nerr("ERROR: Failed send router solicitation: %d\n", ret); break; }