[dm-devel] [PATCH] kobj_uevent: Ignore if some listeners cannot handle message

Kay Sievers kay.sievers at vrfy.org
Mon Aug 22 16:24:19 UTC 2011


On Mon, Aug 22, 2011 at 15:51, Milan Broz <mbroz at redhat.com> wrote:
> kobject_uevent() uses a multicast socket and should ignore
> if one of listeners cannot handle messages or nobody is
> listening at all.
>
> Easily reproducible when a process in system is cloned
> with CLONE_NEWNET flag.

> -                       if (retval == -ENOBUFS)
> +                       if (retval == -ENOBUFS || retval == -ESRCH)

Looks good to me.

Kay




More information about the dm-devel mailing list