aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/netlink/af_netlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 29a5fd231eac..cb64cff3e339 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -905,6 +905,7 @@ static int netlink_sendmsg(struct kiocb *kiocb, struct socket *sock,
905 NETLINK_CB(skb).groups = nlk->groups; 905 NETLINK_CB(skb).groups = nlk->groups;
906 NETLINK_CB(skb).dst_pid = dst_pid; 906 NETLINK_CB(skb).dst_pid = dst_pid;
907 NETLINK_CB(skb).dst_groups = dst_groups; 907 NETLINK_CB(skb).dst_groups = dst_groups;
908 NETLINK_CB(skb).loginuid = audit_get_loginuid(current->audit_context);
908 memcpy(NETLINK_CREDS(skb), &siocb->scm->creds, sizeof(struct ucred)); 909 memcpy(NETLINK_CREDS(skb), &siocb->scm->creds, sizeof(struct ucred));
909 910
910 /* What can I do? Netlink is asynchronous, so that 911 /* What can I do? Netlink is asynchronous, so that