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=-11.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 B9B9FC433DF for ; Sat, 1 Aug 2020 07:46:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 98C74206E9 for ; Sat, 1 Aug 2020 07:46:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726888AbgHAHqx (ORCPT ); Sat, 1 Aug 2020 03:46:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbgHAHqx (ORCPT ); Sat, 1 Aug 2020 03:46:53 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC447C06174A for ; Sat, 1 Aug 2020 00:46:52 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1k1mE9-0005cl-Qe; Sat, 01 Aug 2020 09:46:45 +0200 Date: Sat, 1 Aug 2020 09:46:45 +0200 From: Florian Westphal To: Eric Dumazet Cc: "David S . Miller" , netdev , Eric Dumazet , Florian Westphal Subject: Re: [PATCH net-next] tcp: fix build fong CONFIG_MPTCP=n Message-ID: <20200801074645.GG5271@breakpoint.cc> References: <20200801020929.3000802-1-edumazet@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200801020929.3000802-1-edumazet@google.com> 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: > Fixes these errors: > > net/ipv4/syncookies.c: In function 'tcp_get_cookie_sock': > net/ipv4/syncookies.c:216:19: error: 'struct tcp_request_sock' has no > member named 'drop_req' > 216 | if (tcp_rsk(req)->drop_req) { > | ^~ > net/ipv4/syncookies.c: In function 'cookie_tcp_reqsk_alloc': > net/ipv4/syncookies.c:289:27: warning: unused variable 'treq' > [-Wunused-variable] > 289 | struct tcp_request_sock *treq; > | ^~~~ Ugh, sorry about this. > make[3]: *** [scripts/Makefile.build:280: net/ipv4/syncookies.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > > Fixes: 9466a1ccebbe ("mptcp: enable JOIN requests even if cookies are in use") > Signed-off-by: Eric Dumazet > Cc: Florian Westphal > --- > net/ipv4/syncookies.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c > index 11b20474be8310d7070750a1c7b4013f2fba2f55..f0794f0232bae749244fff35d8b96b1f561a5e87 100644 > --- a/net/ipv4/syncookies.c > +++ b/net/ipv4/syncookies.c > @@ -213,7 +213,7 @@ struct sock *tcp_get_cookie_sock(struct sock *sk, struct sk_buff *skb, > tcp_sk(child)->tsoffset = tsoff; > sock_rps_save_rxhash(child, skb); > > - if (tcp_rsk(req)->drop_req) { > + if (rsk_drop_req(req)) { This hunk breaks join self test for mptcp, but it should not. Looks like cookie path missed a ->is_mptcp = 1 somewhere. Investigating.