From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: linux-next: manual merge of the net tree with the net-current tree Date: Mon, 04 Oct 2010 22:47:35 -0700 (PDT) Message-ID: <20101004.224735.191411120.davem@davemloft.net> References: <20101001124830.9c35d36f.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:40168 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754488Ab0JEFrP (ORCPT ); Tue, 5 Oct 2010 01:47:15 -0400 In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: hkchu@google.com Cc: sfr@canb.auug.org.au, netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, damian@tvk.rwth-aachen.de From: Jerry Chu Date: Thu, 30 Sep 2010 20:27:05 -0700 > In tcp_write_timeout(): > > if (retransmits_timed_out(sk, retry_until, > (1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV) ? 0 : > icsk->icsk_user_timeout, syn_set)) { > > should be simplified to > > if (retransmits_timed_out(sk, retry_until, > syn_set ? 0 : icsk->icsk_user_timeout, syn_set)) { I've merged net-2.6 into net-next-2.6 and integrated this simplification while doing so.