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)
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

diff --cc kernel/audit.c
Simple merge