Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Joe Perches <joe@perches.com>
Cc: "David S. Miller" <davem@davemloft.net>, netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH] net/ipv4/tcp_input.c: fix compilation breakage when FASTRETRANS_DEBUG > 1
Date: Mon, 31 May 2010 23:32:05 +0200	[thread overview]
Message-ID: <1275341525.2478.28.camel@edumazet-laptop> (raw)
In-Reply-To: <1275330055.14079.8.camel@Joe-Laptop.home>

Le lundi 31 mai 2010 à 11:20 -0700, Joe Perches a écrit :
> Commit: c720c7e8383aff1cb219bddf474ed89d850336e3 missed these.
> 
> Signed-off-by: Joe Perches <joe@perches.com>
> ---

Acked-by: Eric Dumazet <eric.dumazet@gmail.com>

>  net/ipv4/tcp_input.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
> index 3e6dafc..548d575 100644
> --- a/net/ipv4/tcp_input.c
> +++ b/net/ipv4/tcp_input.c
> @@ -2639,7 +2639,7 @@ static void DBGUNDO(struct sock *sk, const char *msg)
>  	if (sk->sk_family == AF_INET) {
>  		printk(KERN_DEBUG "Undo %s %pI4/%u c%u l%u ss%u/%u p%u\n",
>  		       msg,
> -		       &inet->daddr, ntohs(inet->dport),
> +		       &inet->inet_daddr, ntohs(inet->inet_dport),
>  		       tp->snd_cwnd, tcp_left_out(tp),
>  		       tp->snd_ssthresh, tp->prior_ssthresh,
>  		       tp->packets_out);
> @@ -2649,7 +2649,7 @@ static void DBGUNDO(struct sock *sk, const char *msg)
>  		struct ipv6_pinfo *np = inet6_sk(sk);
>  		printk(KERN_DEBUG "Undo %s %pI6/%u c%u l%u ss%u/%u p%u\n",
>  		       msg,
> -		       &np->daddr, ntohs(inet->dport),
> +		       &np->daddr, ntohs(inet->inet_dport),
>  		       tp->snd_cwnd, tcp_left_out(tp),
>  		       tp->snd_ssthresh, tp->prior_ssthresh,
>  		       tp->packets_out);
> 
> 



  reply	other threads:[~2010-05-31 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-31 18:20 [PATCH] net/ipv4/tcp_input.c: fix compilation breakage when FASTRETRANS_DEBUG > 1 Joe Perches
2010-05-31 21:32 ` Eric Dumazet [this message]
2010-06-01  6:48 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1275341525.2478.28.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=joe@perches.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox