diff options
-rw-r--r-- | kernel/audit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index c9345d3e8ada..04fe2e301b61 100644 --- a/kernel/audit.c +++ b/kernel/audit.c | |||
@@ -558,8 +558,9 @@ static int __init audit_init(void) | |||
558 | THIS_MODULE); | 558 | THIS_MODULE); |
559 | if (!audit_sock) | 559 | if (!audit_sock) |
560 | audit_panic("cannot initialize netlink socket"); | 560 | audit_panic("cannot initialize netlink socket"); |
561 | else | ||
562 | audit_sock->sk_sndtimeo = MAX_SCHEDULE_TIMEOUT; | ||
561 | 563 | ||
562 | audit_sock->sk_sndtimeo = MAX_SCHEDULE_TIMEOUT; | ||
563 | skb_queue_head_init(&audit_skb_queue); | 564 | skb_queue_head_init(&audit_skb_queue); |
564 | audit_initialized = 1; | 565 | audit_initialized = 1; |
565 | audit_enabled = audit_default; | 566 | audit_enabled = audit_default; |