From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next 2/3] net: Remove __sk_dst_reset() in tcp_v6_connect() Date: Mon, 23 Jan 2017 11:14:12 -0800 Message-ID: <1485198852.16328.210.camel@edumazet-glaptop3.roam.corp.google.com> References: <20170123185922.48046-1-tracywwnj@gmail.com> <20170123185922.48046-3-tracywwnj@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, David Miller , Eric Dumazet , Yuchung Cheng , Wei Wang To: Wei Wang Return-path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:34551 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750821AbdAWTOO (ORCPT ); Mon, 23 Jan 2017 14:14:14 -0500 Received: by mail-pf0-f196.google.com with SMTP id y143so10539918pfb.1 for ; Mon, 23 Jan 2017 11:14:14 -0800 (PST) In-Reply-To: <20170123185922.48046-3-tracywwnj@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 2017-01-23 at 10:59 -0800, Wei Wang wrote: > From: Wei Wang > > Remove __sk_dst_reset() in the failure handling because __sk_dst_reset() > will eventually get called when sk is released. No need to handle it in > the protocol specific connect call. > This is also to make the code path consistent with ipv4. > > Signed-off-by: Wei Wang > --- Suggested-by: Eric Dumazet Acked-by: Eric Dumazet Thanks.