From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 3/4] tcp: use inet6_csk_route_req() in tcp_v6_send_synack() Date: Thu, 28 Jun 2012 17:55:32 -0700 (PDT) Message-ID: <20120628.175532.672427564547677756.davem@davemloft.net> References: <1340922861-11684-1-git-send-email-ncardwell@google.com> <1340922861-11684-3-git-send-email-ncardwell@google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, edumazet@google.com To: ncardwell@google.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:57949 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753709Ab2F2Azd (ORCPT ); Thu, 28 Jun 2012 20:55:33 -0400 In-Reply-To: <1340922861-11684-3-git-send-email-ncardwell@google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Neal Cardwell Date: Thu, 28 Jun 2012 15:34:20 -0700 > With the recent change (earlier in this patch series) to set > flowi6_oif to treq->iif in inet6_csk_route_req(), the dst lookup in > these two functions is now identical, so tcp_v6_send_synack() can now > just call inet6_csk_route_req(), to reduce code duplication and keep > things closer to the IPv4 side, which is structured this way. > > Signed-off-by: Neal Cardwell Applied.