summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-06-13 05:27:04 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-16 23:55:34 +0200
commit812e876e842488221aa54cb4587a8a33445cfa9e (patch)
treecb8475918fc3c9a9cf624e643bb679af34e0c24e
parentqlcnic: Bumped up version number (diff)
downloadlinux-812e876e842488221aa54cb4587a8a33445cfa9e.tar.xz
linux-812e876e842488221aa54cb4587a8a33445cfa9e.zip
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 8360e47aa7e3..17d9d2e75ff1 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