aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2016-01-13 09:15:18 -0500
committerPaul Moore <paul@paul-moore.com>2016-01-13 09:15:18 -0500
commiteb8baf6aa3ba1fcb1c1fd2cc57e31195a42689fd (patch)
tree26be9c69111050479d6d64bb259a8df27083c1cb /kernel
parentc4b7a7755f91081e430bbd58fec77194b05f834b (diff)
audit: remove audit_backlog_wait_overflow
It seems much more obvious and readable to simply use "0". Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/audit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 6d00bd1ff249..07d60e4b2af8 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -110,7 +110,6 @@ static u32 audit_backlog_limit = 64;
110#define AUDIT_BACKLOG_WAIT_TIME (60 * HZ) 110#define AUDIT_BACKLOG_WAIT_TIME (60 * HZ)
111static u32 audit_backlog_wait_time_master = AUDIT_BACKLOG_WAIT_TIME; 111static u32 audit_backlog_wait_time_master = AUDIT_BACKLOG_WAIT_TIME;
112static u32 audit_backlog_wait_time = AUDIT_BACKLOG_WAIT_TIME; 112static u32 audit_backlog_wait_time = AUDIT_BACKLOG_WAIT_TIME;
113static u32 audit_backlog_wait_overflow = 0;
114 113
115/* The identity of the user shutting down the audit system. */ 114/* The identity of the user shutting down the audit system. */
116kuid_t audit_sig_uid = INVALID_UID; 115kuid_t audit_sig_uid = INVALID_UID;
@@ -1395,7 +1394,7 @@ struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask,
1395 skb_queue_len(&audit_skb_queue), 1394 skb_queue_len(&audit_skb_queue),
1396 audit_backlog_limit); 1395 audit_backlog_limit);
1397 audit_log_lost("backlog limit exceeded"); 1396 audit_log_lost("backlog limit exceeded");
1398 audit_backlog_wait_time = audit_backlog_wait_overflow; 1397 audit_backlog_wait_time = 0;
1399 wake_up(&audit_backlog_wait); 1398 wake_up(&audit_backlog_wait);
1400 return NULL; 1399 return NULL;
1401 } 1400 }