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)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:27:30 +0000 (22:27 -0500)
commite789e561a50de0aaa8c695662d97aaa5eac9d55f
tree06e9ef8481ccb37b785c3ec478927d3dc243bb91
parent33faba7fa7f2288d2f8aaea95958b2c97bf9ebfb
audit: reset audit backlog wait time after error recovery

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

Cc: stable@vger.kernel.org # v3.8-rc4+
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>
kernel/audit.c