summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-25 00:12:37 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-25 00:45:00 +0100
commit9932cf954691f20d548cd6010d89d1d48597e104 (patch)
treecb7272b087f64b142759e61e3fdd81669f48c849
parent[NET]: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. (diff)
downloadlinux-9932cf954691f20d548cd6010d89d1d48597e104.tar.xz
linux-9932cf954691f20d548cd6010d89d1d48597e104.zip
[NET]: Fill in a 32-bit hole in struct sock on 64-bit platforms.
This makes struct sock 8 bytes smaller on 64-bit. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index ec226f31dc2a..2aa73c0ec6c2 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -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;