lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 21 May 2007 09:00:53 -0700
From:	Stephen Hemminger <shemminger@...ux-foundation.org>
To:	Sangtae Ha <sangtae.ha@...il.com>
Cc:	davem@...emloft.net, netdev@...r.kernel.org,
	Sangtae Ha <sangtae.ha@...il.com>
Subject: Re: [PATCH] [TCP] tcp_probe: a trivial fix for mismatched number of
 printl arguments.

On Mon, 21 May 2007 03:45:42 -0400
Sangtae Ha <sangtae.ha@...il.com> wrote:

> Just a fix to correct the number of printl arguments. Now, srtt is logging correctly.
> 
> Signed-off-by: Sangtae Ha <sangtae.ha@...il.com>
> ---
>  net/ipv4/tcp_probe.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/ipv4/tcp_probe.c b/net/ipv4/tcp_probe.c
> index 3938d5d..1b72c55 100644
> --- a/net/ipv4/tcp_probe.c
> +++ b/net/ipv4/tcp_probe.c
> @@ -95,7 +95,7 @@ static int jtcp_rcv_established(struct sock *sk, struct sk_buff *skb,
>  	/* Only update if port matches */
>  	if ((port == 0 || ntohs(inet->dport) == port || ntohs(inet->sport) == port)
>  	    && (full || tp->snd_cwnd != tcpw.lastcwnd)) {
> -		printl("%d.%d.%d.%d:%u %d.%d.%d.%d:%u %d %#x %#x %u %u %u\n",
> +		printl("%d.%d.%d.%d:%u %d.%d.%d.%d:%u %d %#x %#x %u %u %u %u\n",
>  		       NIPQUAD(inet->saddr), ntohs(inet->sport),
>  		       NIPQUAD(inet->daddr), ntohs(inet->dport),
>  		       skb->len, tp->snd_nxt, tp->snd_una,

Looks good thanks

-- 
Stephen Hemminger <shemminger@...ux-foundation.org>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists