kobj_uevent: Ignore if some listeners cannot handle message
authorMilan Broz <mbroz@redhat.com>
Mon, 22 Aug 2011 13:51:34 +0000 (15:51 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:32 +0000 (15:35 -0400)
commitc00a5101310a35a34f9c23bd9c9cda2187005abd
tree85683dc5c0a72d8dda234e07811c03bb20a5cab9
parent5ffddeb2125e7d45779724a1b0823a8ea9307f4e
kobj_uevent: Ignore if some listeners cannot handle message

commit ebf4127cd677e9781b450e44dfaaa1cc595efcaa upstream.

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.

(See also http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/5256)

Signed-off-by: Milan Broz <mbroz@redhat.com>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
lib/kobject_uevent.c