aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-06-13 03:27:04 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-16 14:55:34 -0700
commit812e876e842488221aa54cb4587a8a33445cfa9e (patch)
treecb8475918fc3c9a9cf624e643bb679af34e0c24e
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>
-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 8360e47aa7e..17d9d2e75ff 100644
--- a/include/net/scm.h
+++ b/include/net/scm.h
@@ -19,8 +19,8 @@ struct scm_fp_list {
};
struct scm_cookie {
- struct ucred creds; /* Skb credentials */
struct scm_fp_list *fp; /* Passed files */
+ struct ucred creds; /* Skb credentials */
#ifdef CONFIG_SECURITY_NETWORK
u32 secid; /* Passed security ID */
#endif