Re: [PATCH] kobj_uevent: Ignore if some listeners cannot handle message

From: Kay Sievers
Date: Mon Aug 22 2011 - 12:24:45 EST


On Mon, Aug 22, 2011 at 15:51, Milan Broz <mbroz@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/