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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F831C19F29 for ; Wed, 27 Jul 2022 10:10:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231915AbiG0KKu (ORCPT ); Wed, 27 Jul 2022 06:10:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229940AbiG0KKs (ORCPT ); Wed, 27 Jul 2022 06:10:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77E4626FB; Wed, 27 Jul 2022 03:10:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1BD7D6182F; Wed, 27 Jul 2022 10:10:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11AE1C433D6; Wed, 27 Jul 2022 10:10:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658916646; bh=EnJkkdJO/pQiJy5NDS3FoBWw8gJqA7yUL49NPtjzTMg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nJ8op6rZEhxJeO9kVUhluUHmvg0ZxjW1S4atFRvJOLgllXzussK469eRxI+7QrJOi 05mlnI3Qk0lPvMhHLIuuSfDIqK2Wy6zHqWUDu/jJ/I2xW6bHJhQ6qH+e0GL4AppauL 6YkwU49fEjup9rf4Y0Dba6A8Q+aMa17DS74Hto8g= Date: Wed, 27 Jul 2022 12:10:43 +0200 From: Greg KH To: Tianchen Ding Cc: ast@kernel.org, linux-kernel@vger.kernel.org, lmb@cloudflare.com, sashal@kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 5.10 373/575] selftests: bpf: Convert sk_lookup ctx access tests to PROG_TEST_RUN Message-ID: References: <20211115165356.685521944@linuxfoundation.org> <6258c4a1-0132-5afe-8dab-afa4ca3c49d6@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6258c4a1-0132-5afe-8dab-afa4ca3c49d6@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 25, 2022 at 10:53:38AM +0800, Tianchen Ding wrote: > Hi Greg. > > We found a compile error when building tools/testing/selftests/bpf/ on 5.10. > > tools/testing/selftests/bpf/prog_tests/sk_lookup.c:1092:15: error: 'struct bpf_sk_lookup' has no member named 'cookie' > 1092 | if (CHECK(ctx.cookie == 0, "ctx.cookie", "no socket selected\n")) > > It requires 7c32e8f8bc33 ("bpf: Add PROG_TEST_RUN support for sk_lookup programs") from upstream. > > Maybe the left patches of this patchset are needed for 5.10 LTS? > https://lore.kernel.org/bpf/20210303101816.36774-1-lmb@cloudflare.com/ If so, please submit them with the git commit ids so that I can fix this up. thanks, greg k-h