X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fdccp%2Fdiag.c;h=0f3745585a9486e4e1aee74df934936949b5c040;hb=ec2f9d1331f658433411c58077871e1eef4ee1b4;hp=3f78c00e3822277ca7ef1eef8adbb39cb82372ad;hpb=0825788ff27c7145e9d558cb2a26f3837d1f9be5;p=mv-sheeva.git diff --git a/net/dccp/diag.c b/net/dccp/diag.c index 3f78c00e382..0f3745585a9 100644 --- a/net/dccp/diag.c +++ b/net/dccp/diag.c @@ -9,7 +9,6 @@ * published by the Free Software Foundation. */ -#include #include #include @@ -30,7 +29,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 (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);