]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:51 +0000 (11:17 -0800)
commitda268b7c55290f63558d5858930acbab02c208a2
tree34dfb360f4457021574c58dc4681577aa0451e97
parent654370d1388cb8fd348fa0d712ac2430fd584f16
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>
lib/kobject_uevent.c