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  linux-cve-announce  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]
Message-Id: <20131011.174858.1461090000704613432.davem@davemloft.net>
Date:	Fri, 11 Oct 2013 17:48:58 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org, fitz@...yale.edu, ycheng@...gle.com,
	ncardwell@...gle.com
Subject: Re: [PATCH net-next] tcp: tcp_transmit_skb() optimizations

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 10 Oct 2013 08:43:00 -0700

> From: Eric Dumazet <edumazet@...gle.com>
> 
> 1) We need to take a timestamp only for skb that should be cloned.
> 
> Other skbs are not in write queue and no rtt estimation is done on them.
> 
> 2) the unlikely() hint is wrong for receivers (they send pure ACK)
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>

This patch is correct, so I've applied it, but it points out a bug.

The __tcp_retransmit_skb() code that does a __pskb_copy() to handle
NET_IP_ALIGN violations and skb_headroom() overflows is buggy because
it needs to store a congestion control timestamp in the original 'skb'
since that's what we'll look at in the retransmit queue.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ