projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f67ed26
)
[NET]: Fill in a 32-bit hole in struct sock on 64-bit platforms.
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 24 Mar 2006 23:12:37 +0000
(15:12 -0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/include/net/sock.h
b/include/net/sock.h
index
ec226f3
..
2aa73c0
100644
(file)
--- 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;