https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248172

Bjoern A. Zeeb <b...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress
                 CC|                            |h...@freebsd.org

--- Comment #22 from Bjoern A. Zeeb <b...@freebsd.org> ---
Gert, can you try this patch (totally untested, not even compile tested):

https://people.freebsd.org/~bz/tmp/20201031-02-ip6-ifdisabled.diff

This will enable ND6_IFF_IFDISABLED when the interface is created in the kernel
before return to user space (if I am right) and user space (driver from devd ->
/etc/pccard_ether => ... netif start IF => ifdisabled should no longer execute
the last bit and hence not race with your program.

I might have seen a similar issue with ppp/tun0 lately.


Also adding @hrs to Cc: as he know this logic a lot better than me and might
know of other pitfalls by doing this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to