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 099C7C433EF for ; Thu, 7 Jul 2022 18:05:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235948AbiGGSFS (ORCPT ); Thu, 7 Jul 2022 14:05:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235575AbiGGSFP (ORCPT ); Thu, 7 Jul 2022 14:05:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4574B23BD4; Thu, 7 Jul 2022 11:05:15 -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 CB87662039; Thu, 7 Jul 2022 18:05:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9070C3411E; Thu, 7 Jul 2022 18:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1657217114; bh=MN9JIjhs22FoV1RIoIWhCdI8THtn7kp+XQKAOeRUbiw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PRBD+Ttf6rdClZze3V5fejwuW4/VuVerH1akyywSaPhP+2WAzdw6bEGWnQ4oErfo+ j/jBq+2sSnTfOUjQWSSt18pVIIEUdj8hQhNmBIfJVXnD6in804kVEXMK0GuQertmEj FckUwSEpmJwNgAPla4GRfTKOlMr+pWG65fByN1Sk= Date: Thu, 7 Jul 2022 20:05:11 +0200 From: Greg KH To: Po-Hsu Lin Cc: stable@vger.kernel.org, memxor@gmail.com, linux-kernel@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, shuah@kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH stable 5.15 0/1] Revert "selftests/bpf: Add test for bpf_timer overwriting crash" Message-ID: References: <20220707094207.229875-1-po-hsu.lin@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220707094207.229875-1-po-hsu.lin@canonical.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 07, 2022 at 05:42:06PM +0800, Po-Hsu Lin wrote: > The bpf_timer overwriting crash test will cause bpf selftest build > fail on the stable 5.15 tree with: > > progs/timer_crash.c:8:19: error: field has incomplete type 'struct bpf_timer' > struct bpf_timer timer; > ^ > /home/ubuntu/linux/tools/testing/selftests/bpf/tools/include/bpf/bpf_helper_defs.h:39:8: > note: forward declaration of 'struct bpf_timer' > struct bpf_timer; > ^ > 1 error generated. > > Test shows this can only be built with 5.17 and newer kernels. Let's > revert it for the 5.15 tree. > > Po-Hsu Lin (1): > Revert "selftests/bpf: Add test for bpf_timer overwriting crash" > > .../testing/selftests/bpf/prog_tests/timer_crash.c | 32 ------------- > tools/testing/selftests/bpf/progs/timer_crash.c | 54 ---------------------- > 2 files changed, 86 deletions(-) > delete mode 100644 tools/testing/selftests/bpf/prog_tests/timer_crash.c > delete mode 100644 tools/testing/selftests/bpf/progs/timer_crash.c > > -- > 2.7.4 > Now queued up, thanks. greg k-h