diff options
Diffstat (limited to 'include/net/inet_connection_sock.h')
-rw-r--r-- | include/net/inet_connection_sock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 0358745ea059..6692d67e9245 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -77,6 +77,7 @@ struct inet_connection_sock_af_ops { | |||
77 | * @icsk_af_ops Operations which are AF_INET{4,6} specific | 77 | * @icsk_af_ops Operations which are AF_INET{4,6} specific |
78 | * @icsk_ulp_ops Pluggable ULP control hook | 78 | * @icsk_ulp_ops Pluggable ULP control hook |
79 | * @icsk_ulp_data ULP private data | 79 | * @icsk_ulp_data ULP private data |
80 | * @icsk_listen_portaddr_node hash to the portaddr listener hashtable | ||
80 | * @icsk_ca_state: Congestion control state | 81 | * @icsk_ca_state: Congestion control state |
81 | * @icsk_retransmits: Number of unrecovered [RTO] timeouts | 82 | * @icsk_retransmits: Number of unrecovered [RTO] timeouts |
82 | * @icsk_pending: Scheduled timer event | 83 | * @icsk_pending: Scheduled timer event |
@@ -101,6 +102,7 @@ struct inet_connection_sock { | |||
101 | const struct inet_connection_sock_af_ops *icsk_af_ops; | 102 | const struct inet_connection_sock_af_ops *icsk_af_ops; |
102 | const struct tcp_ulp_ops *icsk_ulp_ops; | 103 | const struct tcp_ulp_ops *icsk_ulp_ops; |
103 | void *icsk_ulp_data; | 104 | void *icsk_ulp_data; |
105 | struct hlist_node icsk_listen_portaddr_node; | ||
104 | unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu); | 106 | unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu); |
105 | __u8 icsk_ca_state:6, | 107 | __u8 icsk_ca_state:6, |
106 | icsk_ca_setsockopt:1, | 108 | icsk_ca_setsockopt:1, |
@@ -305,7 +307,7 @@ void inet_csk_prepare_forced_close(struct sock *sk); | |||
305 | /* | 307 | /* |
306 | * LISTEN is a special case for poll.. | 308 | * LISTEN is a special case for poll.. |
307 | */ | 309 | */ |
308 | static inline unsigned int inet_csk_listen_poll(const struct sock *sk) | 310 | static inline __poll_t inet_csk_listen_poll(const struct sock *sk) |
309 | { | 311 | { |
310 | return !reqsk_queue_empty(&inet_csk(sk)->icsk_accept_queue) ? | 312 | return !reqsk_queue_empty(&inet_csk(sk)->icsk_accept_queue) ? |
311 | (POLLIN | POLLRDNORM) : 0; | 313 | (POLLIN | POLLRDNORM) : 0; |