scm: Capture the full credentials of the scm sender
authorTim Chen <tim.c.chen@linux.intel.com>
Tue, 9 Aug 2011 06:48:32 +0000 (06:48 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:54 +0000 (11:40 -0700)
commit265d5c2eb22550566cf4193df46596dac439374c
tree26ea2ddaf5eb4967e072f3c5559d7a9732044edf
parent5c97f6d48701d464dfd6e8782399383686603b65
scm: Capture the full credentials of the scm sender

[ Upstream commit e33f7a9f37d486f4c6cce5de18a6eea11d68f64f ]

This patch corrects an erroneous update of credential's gid with uid
introduced in commit 257b5358b32f17 since 2.6.36.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Reviewed-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/core/scm.c