]> git.baikalelectronics.ru Git - kernel.git/commit
audit: send multicast messages only if there are listeners
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 23 Apr 2014 01:31:58 +0000 (21:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 01:42:27 +0000 (21:42 -0400)
commitf3925e0ff36339cf0e01085ee69f3c123447ddfe
tree1b931b6b57e26b4f4fdfba0cb928fd55731493ad
parent776d6a3f80d123d69b7ac88debf7c4d28e6f9cb1
audit: send multicast messages only if there are listeners

Test first to see if there are any userspace multicast listeners bound to the
socket before starting the multicast send work.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/audit.c