提交 9932cf95 编写于 作者: D David S. Miller

[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: NDavid S. Miller <davem@davemloft.net>
上级 f67ed26f
...@@ -210,6 +210,7 @@ struct sock { ...@@ -210,6 +210,7 @@ struct sock {
gfp_t sk_allocation; gfp_t sk_allocation;
int sk_sndbuf; int sk_sndbuf;
int sk_route_caps; int sk_route_caps;
int sk_rcvlowat;
unsigned long sk_flags; unsigned long sk_flags;
unsigned long sk_lingertime; unsigned long sk_lingertime;
/* /*
...@@ -230,7 +231,6 @@ struct sock { ...@@ -230,7 +231,6 @@ struct sock {
unsigned short sk_max_ack_backlog; unsigned short sk_max_ack_backlog;
__u32 sk_priority; __u32 sk_priority;
struct ucred sk_peercred; struct ucred sk_peercred;
int sk_rcvlowat;
long sk_rcvtimeo; long sk_rcvtimeo;
long sk_sndtimeo; long sk_sndtimeo;
struct sk_filter *sk_filter; struct sk_filter *sk_filter;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册