Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp946394rdb; Fri, 9 Feb 2024 06:07:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFX+AlQ8er1NErgqxUN9qWJKCkUQdp7cMMfXdpR57KchldY0upCp+776mmq5TVQIdIajoA X-Received: by 2002:aa7:d7c9:0:b0:560:5fbb:139a with SMTP id e9-20020aa7d7c9000000b005605fbb139amr1413206eds.12.1707487619983; Fri, 09 Feb 2024 06:06:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707487619; cv=pass; d=google.com; s=arc-20160816; b=KlniIsEZq0fzKG661Mh3jTGpJL3fDLnpASeRJZzGrdZehgO79xyVVucxHVu0YQ8aze If33FA/QeYHkptyLVsYZjn7gQS5FC6kyv8jf6pRQY6rfIzgOzhqFICgH53Gk/Q6BvD8a IbZU2WaQyprCl4wlTdms1c+H0m4kJOB84iLt3MOpEmNXI9ZW1oLRx9geF8MUcTxmjoMg 8WZHPGXryrBEIzDiVunK5tvyec7h7aMhz5hICfdmBwTokrpgHQh2BnujKqx9bdwVV9lw boZBKVepxY9FwVEJj8n+b/WOeFU/6xHCjNnoJUEEp6vK3k5KRgoHEo9qNWjjFL2sR9w+ J4yA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt:from :references:cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=7VLkMMkvt+JASEwuDIpz434HXOXazPy36QMBNqbTR00=; fh=ktApIKPnTGBhZp2LlpdxrRIiXhhPgrFRxNcZ5sWXyuY=; b=ppRRWj0JW/Jm46bW14dlbKg3i26g/i9ZU8GzlzaqFn/PP06EJgLxAS0eyUi5NrodXZ nQg+tRe07NxRmcO5or2BZP+aCTGw37IZmXqbCAwNL9CK3YUQuSiH0iR3Llv/MiSxF1pF jTj7qLApE0gbWJKUOP4O3Qg8zTzoMFoPOSjwJoduh5K7dZaOpFBvcCAG+uaY6tnyH2eq +mftHQYs1b8x4v9Rjzh24+Cp3R8dZs4JUCTPL/JcaonoUG0cnBFZuWkwvx2mJAgA5Beo UgE+d5TDO/zrl7J/3WgACeD1XwOz2OT3iHjJvZ2wTyxp3SlMqhM46xsmckxDXA7lUVzh sQoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JughfAZt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-59396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWMwzI5xh3it8v7r78slUCRcyo57qOeo0a5djAZaJGaGEkvqwpRF+RLZ6z6ftvzRWop75bcswvCTvUYwNpQ4TkHqULMiElp19HQ8yc9sQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t9-20020a05640203c900b00560cbd26bb2si912489edw.209.2024.02.09.06.06.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 06:06:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JughfAZt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-59396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 762391F26DFA for ; Fri, 9 Feb 2024 13:58:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CE044EB2D; Fri, 9 Feb 2024 13:57:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JughfAZt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 204394E1C1; Fri, 9 Feb 2024 13:57:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707487045; cv=none; b=TwTZi5pzKEf9RPmNNRE7xvohxrCUEy/OUXt4CNp1lLinxImSku5oNofexAIdqLHGZG0Cgrfa5sCL3njrhfiJcS2M5i9TVUXeJ78oAIv2Tx9LHEYc55hWJ+5Pvv70Ylljmr54n8Vxk9C+hrKOAnFoGW2iIz3WrSSQ4r5YuWIdB4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707487045; c=relaxed/simple; bh=7e4MnQ2ftv/N6yURo9ss77XQ9Yk1u97b0GJfqrKTEt4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oLJzmKx25I7xdwG6aESxy9ojc0hmAGvVfO2XmwKRpxXu7DqOqO6VjsOKg8vbd79hiAJitEtV+lbJ4N9gtCewAecEd4fqzB/yxTZRu81bbHfvl2CwhSBVnVSVsKL1akC/RoRVkhRSTu9/ad6W8cZcPoPe1bDKIVGi1RCWM6qMFCg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JughfAZt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33B76C433F1; Fri, 9 Feb 2024 13:57:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707487044; bh=7e4MnQ2ftv/N6yURo9ss77XQ9Yk1u97b0GJfqrKTEt4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JughfAZtVi98bQAtLF3VCO4yJHdNHwPnZ4YysJYTh5eMPwbUz8txJ+MAcDkTU+Rsv qmNfE0L56Nd1IEXzQYSqJyVdQ2B7NArKT0hwr9X4QdXrxNG1qD+7OOZpg5eqpN7O5U QTW691NkGBP3XYFjXjRCGN7XHP0SKobSMYH2xZ6Yfl5Jteosv3aAgXjFIbWc5HuMp2 x4DrFJC2VGc/4Ssw8i6bxjjCBrgexM9Cj6vXWq2VKHxJjsyyxmeuEonwR0FTvZlaAZ 5tkiqY0wa7qsfQoTGNOxo2M8UnNN9pYZD16MZtWZfTK1hja7TaRZ6y2Zh1L37BWHCb fF1gBfwIGE0ow== Message-ID: <68d61c24-b6d3-450a-8976-e87beb9b54e3@kernel.org> Date: Fri, 9 Feb 2024 14:57:13 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net] selftests: net: ip_local_port_range: define IPPROTO_MPTCP Content-Language: en-GB, fr-BE To: Maxim Galaganov , Naresh Kamboju Cc: Linux Kernel Functional Testing , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , Mat Martineau References: <20240209132512.254520-1-max@internet.ru> From: Matthieu Baerts Autocrypt: addr=matttbe@kernel.org; keydata= xsFNBFXj+ekBEADxVr99p2guPcqHFeI/JcFxls6KibzyZD5TQTyfuYlzEp7C7A9swoK5iCvf YBNdx5Xl74NLSgx6y/1NiMQGuKeu+2BmtnkiGxBNanfXcnl4L4Lzz+iXBvvbtCbynnnqDDqU c7SPFMpMesgpcu1xFt0F6bcxE+0ojRtSCZ5HDElKlHJNYtD1uwY4UYVGWUGCF/+cY1YLmtfb WdNb/SFo+Mp0HItfBC12qtDIXYvbfNUGVnA5jXeWMEyYhSNktLnpDL2gBUCsdbkov5VjiOX7 CRTkX0UgNWRjyFZwThaZADEvAOo12M5uSBk7h07yJ97gqvBtcx45IsJwfUJE4hy8qZqsA62A nTRflBvp647IXAiCcwWsEgE5AXKwA3aL6dcpVR17JXJ6nwHHnslVi8WesiqzUI9sbO/hXeXw TDSB+YhErbNOxvHqCzZEnGAAFf6ges26fRVyuU119AzO40sjdLV0l6LE7GshddyazWZf0iac nEhX9NKxGnuhMu5SXmo2poIQttJuYAvTVUNwQVEx/0yY5xmiuyqvXa+XT7NKJkOZSiAPlNt6 VffjgOP62S7M9wDShUghN3F7CPOrrRsOHWO/l6I/qJdUMW+MHSFYPfYiFXoLUZyPvNVCYSgs 3oQaFhHapq1f345XBtfG3fOYp1K2wTXd4ThFraTLl8PHxCn4ywARAQABzSRNYXR0aGlldSBC YWVydHMgPG1hdHR0YmVAa2VybmVsLm9yZz7CwZEEEwEIADsCGwMFCwkIBwIGFQoJCAsCBBYC AwECHgECF4AWIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZUDpDAIZAQAKCRD2t4JPQmmgcz33 EACjROM3nj9FGclR5AlyPUbAq/txEX7E0EFQCDtdLPrjBcLAoaYJIQUV8IDCcPjZMJy2ADp7 /zSwYba2rE2C9vRgjXZJNt21mySvKnnkPbNQGkNRl3TZAin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str4HZtWwyWLitk7N+e+vxuK5qto4AxtB7VdimvKUs x6kQO5F3YWcC3vCXCgPwyV8133+fIR2L81R1L1q3swaEuh95vWj6iskxeNWSTyFAVKYYVskG V+OTtB71P1XCnb6AJCW9cKpC25+zxQqD2Zy0dK3u2RuKErajKBa/YWzuSaKAOkneFxG3LJIv Hl7iqPF+JDCjB5sAEQEAAcLBXwQYAQIACQUCVeP56QIbDAAKCRD2t4JPQmmgc5VnD/9YgbCr HR1FbMbm7td54UrYvZV/i7m3dIQNXK2e+Cbv5PXf19ce3XluaE+wA8D+vnIW5mbAAiojt3Mb 6p0WJS3QzbObzHNgAp3zy/L4lXwc6WW5vnpWAzqXFHP8D9PTpqvBALbXqL06smP47JqbyQxj Xf7D2rrPeIqbYmVY9da1KzMOVf3gReazYa89zZSdVkMojfWsbq05zwYU+SCWS3NiyF6QghbW voxbFwX1i/0xRwJiX9NNbRj1huVKQuS4W7rbWA87TrVQPXUAdkyd7FRYICNW+0gddysIwPoa KrLfx3Ba6Rpx0JznbrVOtXlihjl4KV8mtOPjYDY9u+8x412xXnlGl6AC4HLu2F3ECkamY4G6 UxejX+E6vW6Xe4n7H+rEX5UFgPRdYkS1TA/X3nMen9bouxNsvIJv7C6adZmMHqu/2azX7S7I vrxxySzOw9GxjoVTuzWMKWpDGP8n71IFeOot8JuPZtJ8omz+DZel+WCNZMVdVNLPOd5frqOv mpz0VhFAlNTjU1Vy0CnuxX3AM51J8dpdNyG0S8rADh6C8AKCDOfUstpq28/6oTaQv7QZdge0 JY6dglzGKnCi/zsmp2+1w559frz4+IC7j/igvJGX4KDDKUs0mlld8J2u2sBXv7CGxdzQoHaz lzVbFe7fduHbABmYz9cefQpO7wDE/Q== Organization: NGI0 Core In-Reply-To: <20240209132512.254520-1-max@internet.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Maxim, Naresh, On 09/02/2024 14:25, Maxim Galaganov wrote: > Older glibc's netinet/in.h may leave IPPROTO_MPTCP undefined when > building ip_local_port_range.c, that leads to "error: use of undeclared > identifier 'IPPROTO_MPTCP'". > > Define IPPROTO_MPTCP in such cases, just like in other MPTCP selftests. > > Fixes: 122db5e3634b ("selftests/net: add MPTCP coverage for IP_LOCAL_PORT_RANGE") > Reported-by: Linux Kernel Functional Testing > Closes: https://lore.kernel.org/netdev/CA+G9fYvGO5q4o_Td_kyQgYieXWKw6ktMa-Q0sBu6S-0y3w2aEQ@mail.gmail.com/ > Signed-off-by: Maxim Galaganov Thank you both for the fix and the bug report! Acked-by: Matthieu Baerts (NGI0) Cheers, Matt -- Sponsored by the NGI0 Core fund.