scm: Reorder scm_cookie.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 13 Jun 2010 03:27:04 +0000 (03:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 21:55:34 +0000 (14:55 -0700)
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>
include/net/scm.h

index 8360e47aa7e322336099d09163db1b4254e47016..17d9d2e75ff186e5716dd0e4d452ae822afe9ebd 100644 (file)
@@ -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