X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fdccp%2Fdiag.c;fp=net%2Fdccp%2Fdiag.c;h=3f78c00e3822277ca7ef1eef8adbb39cb82372ad;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=0f3745585a9486e4e1aee74df934936949b5c040;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/net/dccp/diag.c b/net/dccp/diag.c index 0f3745585..3f78c00e3 100644 --- a/net/dccp/diag.c +++ b/net/dccp/diag.c @@ -9,6 +9,7 @@ * published by the Free Software Foundation. */ +#include #include #include @@ -29,7 +30,7 @@ static void dccp_get_info(struct sock *sk, struct tcp_info *info) info->tcpi_backoff = icsk->icsk_backoff; info->tcpi_pmtu = icsk->icsk_pmtu_cookie; - if (dccp_msk(sk)->dccpms_send_ack_vector) + if (dp->dccps_options.dccpo_send_ack_vector) info->tcpi_options |= TCPI_OPT_SACK; ccid_hc_rx_get_info(dp->dccps_hc_rx_ccid, sk, info);