aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 2a8728fdefc4..9dd4d0936969 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -751,7 +751,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
751 size--; 751 size--;
752 audit_log_n_untrustedstring(ab, data, size); 752 audit_log_n_untrustedstring(ab, data, size);
753 } 753 }
754 audit_set_pid(ab, pid); 754 audit_set_pid(ab, NETLINK_CB(skb).pid);
755 audit_log_end(ab); 755 audit_log_end(ab);
756 } 756 }
757 break; 757 break;