diff options
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 51436c825655..3fd16e82c003 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -98,7 +98,6 @@ extern int sysctl_dccp_retries2; | |||
98 | extern int sysctl_dccp_feat_sequence_window; | 98 | extern int sysctl_dccp_feat_sequence_window; |
99 | extern int sysctl_dccp_feat_rx_ccid; | 99 | extern int sysctl_dccp_feat_rx_ccid; |
100 | extern int sysctl_dccp_feat_tx_ccid; | 100 | extern int sysctl_dccp_feat_tx_ccid; |
101 | extern int sysctl_dccp_feat_send_ack_vector; | ||
102 | extern int sysctl_dccp_tx_qlen; | 101 | extern int sysctl_dccp_tx_qlen; |
103 | extern int sysctl_dccp_sync_ratelimit; | 102 | extern int sysctl_dccp_sync_ratelimit; |
104 | 103 | ||
@@ -434,7 +433,7 @@ static inline int dccp_ack_pending(const struct sock *sk) | |||
434 | const struct dccp_sock *dp = dccp_sk(sk); | 433 | const struct dccp_sock *dp = dccp_sk(sk); |
435 | return dp->dccps_timestamp_echo != 0 || | 434 | return dp->dccps_timestamp_echo != 0 || |
436 | #ifdef CONFIG_IP_DCCP_ACKVEC | 435 | #ifdef CONFIG_IP_DCCP_ACKVEC |
437 | (dccp_msk(sk)->dccpms_send_ack_vector && | 436 | (dp->dccps_hc_rx_ackvec != NULL && |
438 | dccp_ackvec_pending(dp->dccps_hc_rx_ackvec)) || | 437 | dccp_ackvec_pending(dp->dccps_hc_rx_ackvec)) || |
439 | #endif | 438 | #endif |
440 | inet_csk_ack_scheduled(sk); | 439 | inet_csk_ack_scheduled(sk); |