Skip to content

Commit

Permalink
scm: Reorder scm_cookie.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed Jun 16, 2010
1 parent 434d7b3 commit 812e876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/scm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 812e876

Please sign in to comment.