[NET]: Fill in a 32-bit hole in struct sock on 64-bit platforms.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 24 Mar 2006 23:12:37 +0000 (15:12 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 24 Mar 2006 23:45:00 +0000 (15:45 -0800)
This makes struct sock 8 bytes smaller on 64-bit.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h

index ec226f3..2aa73c0 100644 (file)
@@ -210,6 +210,7 @@ struct sock {
        gfp_t                   sk_allocation;
        int                     sk_sndbuf;
        int                     sk_route_caps;
+       int                     sk_rcvlowat;
        unsigned long           sk_flags;
        unsigned long           sk_lingertime;
        /*
@@ -230,7 +231,6 @@ struct sock {
        unsigned short          sk_max_ack_backlog;
        __u32                   sk_priority;
        struct ucred            sk_peercred;
-       int                     sk_rcvlowat;
        long                    sk_rcvtimeo;
        long                    sk_sndtimeo;
        struct sk_filter        *sk_filter;