audit: reset audit backlog wait time after error recovery
authorRichard Guy Briggs <rgb@redhat.com>
Fri, 13 Sep 2013 03:03:51 +0000 (23:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:47:59 +0000 (13:47 -0800)
commit34210beebddf8a2bd655086b61dbe3b72e7bc7c5
tree73667779d34e58cf9c15ffa269185c9496047dc9
parentd840f9899a6bc8bd88b3c87cd067ddf39a6ada45
audit: reset audit backlog wait time after error recovery

commit e789e561a50de0aaa8c695662d97aaa5eac9d55f upstream.

When the audit queue overflows and times out (audit_backlog_wait_time), the
audit queue overflow timeout is set to zero.  Once the audit queue overflow
timeout condition recovers, the timeout should be reset to the original value.

See also:
https://lkml.org/lkml/2013/9/2/473

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/audit.c