X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fdccp%2Fdiag.c;h=0f3745585a9486e4e1aee74df934936949b5c040;hb=6936b17ea03f54525f01b12819d558ba52a86b46;hp=f675d8e642d3e4d2d57c706fc18652c26ba25e7e;hpb=5d54e69c68c05b162a56f9914cae72afd7e6f40a;p=linux-2.6 diff --git a/net/dccp/diag.c b/net/dccp/diag.c index f675d8e642..0f3745585a 100644 --- a/net/dccp/diag.c +++ b/net/dccp/diag.c @@ -9,7 +9,6 @@ * published by the Free Software Foundation. */ -#include #include #include @@ -28,9 +27,9 @@ static void dccp_get_info(struct sock *sk, struct tcp_info *info) info->tcpi_retransmits = icsk->icsk_retransmits; info->tcpi_probes = icsk->icsk_probes_out; info->tcpi_backoff = icsk->icsk_backoff; - info->tcpi_pmtu = dp->dccps_pmtu_cookie; + info->tcpi_pmtu = icsk->icsk_pmtu_cookie; - if (dp->dccps_options.dccpo_send_ack_vector) + if (dccp_msk(sk)->dccpms_send_ack_vector) info->tcpi_options |= TCPI_OPT_SACK; ccid_hc_rx_get_info(dp->dccps_hc_rx_ccid, sk, info);