]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:55:28 +0000 (13:55 -0800)
commit5f6c20cda13107b85da5f3b720f777e80af59ca2
tree858a10223a30275b6532600af48380570d43576e
parentcfb7ee5903fc7ac22a6f1c53647ee0836e6a35d0
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