From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C0C9C433DF for ; Thu, 30 Jul 2020 17:58:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7017920809 for ; Thu, 30 Jul 2020 17:58:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728583AbgG3R6q (ORCPT ); Thu, 30 Jul 2020 13:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728473AbgG3R6q (ORCPT ); Thu, 30 Jul 2020 13:58:46 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F010C061574 for ; Thu, 30 Jul 2020 10:58:46 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1k1CpH-00036X-V6; Thu, 30 Jul 2020 19:58:44 +0200 Date: Thu, 30 Jul 2020 19:58:43 +0200 From: Florian Westphal To: Eric Dumazet Cc: Florian Westphal , netdev , mathew.j.martineau@linux.intel.com, Matthieu Baerts , Paolo Abeni Subject: Re: [PATCH net-next 05/10] tcp: pass want_cookie down to req_init function Message-ID: <20200730175843.GD5271@breakpoint.cc> References: <20200730171529.22582-1-fw@strlen.de> <20200730171529.22582-6-fw@strlen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Eric Dumazet wrote: > On Thu, Jul 30, 2020 at 10:15 AM Florian Westphal wrote: > > > > In MPTCP case, we want to know if we should store a new token id or if we > > should try best-effort only (cookie case). > > > > This allows the MPTCP core to detect when it should elide the storage > > of the generated MPTCP token. > > > > It seems you add later another patch, introducing cookie_tcp_reqsk_alloc() > > We could rename req->cookie_ts bit to req->syncookie in order to not > change function signatures. Ok, I will update patch #1 to do a rename instead of removing cookie_ts bit. I will keep the change in output path to check synack_type instead of cookie_ts.