aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/scm.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-06-12 23:27:04 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-16 17:55:34 -0400
commit812e876e842488221aa54cb4587a8a33445cfa9e (patch)
treecb8475918fc3c9a9cf624e643bb679af34e0c24e /include/net/scm.h
parent434d7b380f2bfc2161b9aaee2cada177a4a4261f (diff)
scm: Reorder scm_cookie.
Reorder the fields in scm_cookie so they pack better on 64bit. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/scm.h')
-rw-r--r--include/net/scm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/scm.h b/include/net/scm.h
index 8360e47aa7e3..17d9d2e75ff1 100644
--- a/include/net/scm.h
+++ b/include/net/scm.h
@@ -19,8 +19,8 @@ struct scm_fp_list {
19}; 19};
20 20
21struct scm_cookie { 21struct scm_cookie {
22 struct ucred creds; /* Skb credentials */
23 struct scm_fp_list *fp; /* Passed files */ 22 struct scm_fp_list *fp; /* Passed files */
23 struct ucred creds; /* Skb credentials */
24#ifdef CONFIG_SECURITY_NETWORK 24#ifdef CONFIG_SECURITY_NETWORK
25 u32 secid; /* Passed security ID */ 25 u32 secid; /* Passed security ID */
26#endif 26#endif