Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3217764rwd; Sat, 3 Jun 2023 00:44:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Hd35W+5y+QxL5RaWD7XikF8y3zNgghy5aP3VxDG7Mdz6YF5rapptZ/swMWoezlhiG8vat X-Received: by 2002:a05:6a20:7493:b0:10c:c407:92e5 with SMTP id p19-20020a056a20749300b0010cc40792e5mr1210512pzd.22.1685778250319; Sat, 03 Jun 2023 00:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685778250; cv=none; d=google.com; s=arc-20160816; b=L+APKbqmBv3y6cY+rHqKQsSJMTX6PXrAKSeXB5jlEhUXxzogaGYYeI3w2Kr4Lh7gdu dJhLCfczRK9501zMBxrt9aZOv7oDy5STXG9GTh04dpWMFLnPW9/x+BKCX/9kCuJV/OyL bTBeZ/7kyaua/Efe/0LrsBzZYZmTc/yG8fYL0N9MGTV8EO7xAuf4Px8v/qEKgSfgPyEC IsuKMQYZnA3ks+v6Q6yMllNdfGxiDpy0fiuhOEc9ZoMQBp0TnkrQ0gFZ7ihg+aR4ub7j ljyRAkHhJqkc1TFaLO97+5ZS/WF/ZM1F3bnozxHQEONhYgnfpzv3+r6FHcyE5naqgvts KXFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=vS/oCChXdrXNuDjzTXaluarU5mcGap3sB8dhYCuURjc=; b=V3iV5hiLEuzHhPUiFdtl4MKq8Bw3+/wPbS4v4hCPjqeSM/pTk2SToyJCEHCcuRZmXd mLJPMzrfZok6ybIs4KF5QvJgAcgV/Rv7HoCWWCWvWDf9ZigzB97sWiVSSMqo9zF6Tglh LrIm9CxZbIBrKs6xNGeatNeSo2ZYfPMyfKkvtwm+vlneu0J3QzwC7lOATpsSvo+zqkc5 FItBWMe0sdhp/7RJ0+gZX++3Fvi4gkOgd9XPHPgrVSVPbIiiGe5mSmz7JuQVBjNJCimA WSuy8cSxFKLrJ0DKVKLsA+AKvNgA+wymxbBScqxpvcHMluNsLK5J4vHipbbr4oP8Dd05 roZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares.net header.s=google header.b=44DSy4Gq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=tessares.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020aa79f07000000b006514fefb82asi2069603pfr.43.2023.06.03.00.43.56; Sat, 03 Jun 2023 00:44:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tessares.net header.s=google header.b=44DSy4Gq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=tessares.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233660AbjFCHfT (ORCPT + 99 others); Sat, 3 Jun 2023 03:35:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjFCHfR (ORCPT ); Sat, 3 Jun 2023 03:35:17 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3B281A5 for ; Sat, 3 Jun 2023 00:35:15 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-30ae69ef78aso3150181f8f.1 for ; Sat, 03 Jun 2023 00:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares.net; s=google; t=1685777714; x=1688369714; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=vS/oCChXdrXNuDjzTXaluarU5mcGap3sB8dhYCuURjc=; b=44DSy4GqZpuTQIEqmv1rl0FyYY8rfxsFPIZSauzX8vhKLg3IfpCpA5S34Dex0+Hw/c UdkHEc9mOwm/qPDGAOjf018P15ccFBzclRId24hPjhAcK2kiuehUrih8C5pp64tW+dBP K4jdc7UrLanW+lmybqoSK1JjSwL1W2hvTN1ALHrbAhsJam1w99vv5pj1gPSk62Iyqa9y WW3Zcvu1aUPbWMRwAFLM1QMBLMqgXdDr35OtYSq+t+eQq9b7bLPPEcPXZg2udxdOh1sT JxJCh07S9aV1KGaTJwZ1VW81UqsxsgbZW6JmUfohWet8HpLZ+M9utuEVcadW+RR6L6ZY yX0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685777714; x=1688369714; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=vS/oCChXdrXNuDjzTXaluarU5mcGap3sB8dhYCuURjc=; b=T+ODISWiNGwAXGz+/8H3dktvqTqrVdoXjB9CbVA+ZXuM+kNFQaEp1lKw6RR5inH5K4 9DHDTA0MqOSBVg4jjP1A+aQc2w7qDDVHd8wLcvuOnGF166KEbAVY9qFdRZfUHOAFsx72 IplD4KVwBGlpZM56UfCRoCxY2bXwkoZ6cEEhLL2GaslnFJyY307xxTSFLmFezi2FAUsH aOKKtkIT0NSqV9tggIBs1sfPAMcMlpCGCx2m5v5tTEG1fMN/94bm990J2+VJWhQNhkph eEuVcv/08W1Ts+h0DYX0TbOnDo+wtTS5xk3rTqkSfnL8o/yOb+egd2GCgpjTuBsJ/sxv Xkxw== X-Gm-Message-State: AC+VfDzsKLmMfU/fJYBSEgK5QefuxdLLbMOKwuOk/Pv+77/Bns4QXAPk as42AGUOhnVdeF7rIicX9iLVpQ== X-Received: by 2002:a5d:6790:0:b0:30a:d9e6:7acd with SMTP id v16-20020a5d6790000000b0030ad9e67acdmr1561265wru.6.1685777714121; Sat, 03 Jun 2023 00:35:14 -0700 (PDT) Received: from ?IPV6:2a02:578:8593:1200:f035:39ca:d5b0:1b0? ([2a02:578:8593:1200:f035:39ca:d5b0:1b0]) by smtp.gmail.com with ESMTPSA id i8-20020adfdec8000000b0030796e103a1sm3724234wrn.5.2023.06.03.00.35.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 03 Jun 2023 00:35:13 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------ghqasT1MlglPr5sFfYBBlhBs" Message-ID: <6f8d3039-e8cf-2e9d-50e3-a48770f624b5@tessares.net> Date: Sat, 3 Jun 2023 09:35:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH net v3] net/ipv4: ping_group_range: allow GID from 2147483648 to 4294967294 - manual merge Content-Language: en-GB To: Akihiro Suda , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, segoon@openwall.com, kuniyu@amazon.com Cc: Akihiro Suda , suda.kyoto@gmail.com, Stephen Rothwell References: <20230601031305.55901-1-akihiro.suda.cz@hco.ntt.co.jp> From: Matthieu Baerts In-Reply-To: <20230601031305.55901-1-akihiro.suda.cz@hco.ntt.co.jp> X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------ghqasT1MlglPr5sFfYBBlhBs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, On 01/06/2023 05:13, Akihiro Suda wrote: > With this commit, all the GIDs ("0 4294967294") can be written to the > "net.ipv4.ping_group_range" sysctl. > > Note that 4294967295 (0xffffffff) is an invalid GID (see gid_valid() in > include/linux/uidgid.h), and an attempt to register this number will cause > -EINVAL. > > Prior to this commit, only up to GID 2147483647 could be covered. > Documentation/networking/ip-sysctl.rst had "0 4294967295" as an example > value, but this example was wrong and causing -EINVAL. FYI, we got a small conflict when merging 'net' in 'net-next' in the MPTCP tree due to this patch applied in 'net': e209fee4118f ("net/ipv4: ping_group_range: allow GID from 2147483648 to 4294967294") and this one from 'net-next': ccce324dabfe ("tcp: make the first N SYN RTO backoffs linear") ----- Generic Message ----- The best is to avoid conflicts between 'net' and 'net-next' trees but if they cannot be avoided when preparing patches, a note about how to fix them is much appreciated. The conflict has been resolved on our side[1] and the resolution we suggest is attached to this email. Please report any issues linked to this conflict resolution as it might be used by others. If you worked on the mentioned patches, don't hesitate to ACK this conflict resolution. --------------------------- Regarding this conflict, I simply took the modifications from both sides. Cheers, Matt [1] https://github.com/multipath-tcp/mptcp_net-next/commit/f170c423f567 -- Tessares | Belgium | Hybrid Access Solutions www.tessares.net --------------ghqasT1MlglPr5sFfYBBlhBs Content-Type: text/x-patch; charset=UTF-8; name="f170c423f56781e5957cd5b3c4de781515ed2c2c.patch" Content-Disposition: attachment; filename="f170c423f56781e5957cd5b3c4de781515ed2c2c.patch" Content-Transfer-Encoding: base64 ZGlmZiAtLWNjIG5ldC9pcHY0L3N5c2N0bF9uZXRfaXB2NC5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