dhcpcd-discuss

Re: Race between kernel and udevd uevents

Lukas Wunner

Wed Apr 11 17:55:29 2018

On Wed, Apr 11, 2018 at 05:13:50PM +0100, Roy Marples wrote:
> On 11/04/2018 16:28, Lukas Wunner wrote:
> >when resetting a USB-attached Ethernet interface using the USBDEVFS_RESET
> >ioctl(), the interface briefly disappears, then reappears.  This results
> >in add and remove uevents from both the kernel and udevd.
> >
> >If those uevents are interleaved as
> >    kernel remove
> >    kernel add
> >    udevd remove
> >    udevd add
> >then dhcpcd fails to assign addresses on reappearance of the interface.
[snip]
> Does this patch help?

Apologies, I won't be in the office again this week, but I'll
give this a whirl Monday morning first thing.  Thanks a lot!

Lukas

References:
Race between kernel and udevd ueventsLukas Wunner
Re: Race between kernel and udevd ueventsRoy Marples
Archive administrator: postmaster@marples.name