AUDIT: Fix reported length of audit messages.
authorSteve Grubb <sgrubb@redhat.com>
Tue, 10 May 2005 17:53:07 +0000 (18:53 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Tue, 10 May 2005 17:53:07 +0000 (18:53 +0100)
commit8c5aa40c94ef8bb7f7da95ecd5942e2d20fc3c9d
tree8cda8d1193dfc814a724406cdd0479c7f46c0487
parentea9c102cb0a7969df5733d34f26e0b12c8a3c889
AUDIT: Fix reported length of audit messages.

We were setting nlmsg_len to skb->len, but we should be subtracting
the size of the header.

From: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
kernel/audit.c