Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp66275pxb; Mon, 13 Sep 2021 13:06:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCI80V9vssNmy2t0GHIWcyLoh7Qo5/NtvQy1yP+MWHYnYMxWTFtXIWsWPeP2LRl3Pg2Wni X-Received: by 2002:a17:906:8a41:: with SMTP id gx1mr13312824ejc.507.1631563572623; Mon, 13 Sep 2021 13:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631563572; cv=none; d=google.com; s=arc-20160816; b=pn2QWztt6Y0qQTMLf418gIxHolekWutpG+ewUHtSsKIK9AhZCh1mwaqZxINvJfB8pZ 0wdJ1KTBLaAX4wrqo5eGnGiR/CoNa3ZA/H670UKfXJMJtDgrL5aurQeb1gvASyLbAKNL Sb1+gpX+BoXnAZzqJZjeGAsK6idiLC105fwTnB0c3hJw7lc0/X9oxZ0pn8zDczOwv6lJ C1TXl5kMOuoqzJfK0rbSKNWsGUmVMKAqrMWCYZ9i3iQnb4b2wWTXhu0uK/VaLLAK4vF4 k5ytI1yt20a3YuDjqJ94aql470kgaUHItL8DuJSkx8cGxlBd7FMFDB8ITgCIsVs8krPm 8l/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ahcg9ITns7f2f4MRZGCnP64N/o5CDuXKhIAf9MJ+TZo=; b=FJY9ZhvM6q8zwiY0f9EozGYWQ16f6greAWJSQTPH4/SI5Sily0hFtWxd8jPB33aAI9 F7BGq2u0zsF/Q1Js4+qHRnu0Eodr95amN6P6AjseB1OPV3i1ptyDVvq7rNBUhe2ZrokN 675rSGg/AWcKJ64oQsclee+BwQv5G9K8ONf1Lel5PAI1bVX3lfyG1RDuEvpvxcw6RVJH i7X9S9pR5f+mgBV3VlS7fMrRGzXIwrlft24nlwX62UqJvlB85nl3SO1ARnt7h8bscSun lFBItS2N2wFKBgxNlLZzwxjsuHyJLjL1xzTKFWgQSsbPyzrKNIblFWSWu702WpvdFTsZ B4iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=10dOtqS5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr21si7983075ejb.14.2021.09.13.13.05.40; Mon, 13 Sep 2021 13:06:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=10dOtqS5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242707AbhIMNnd (ORCPT + 99 others); Mon, 13 Sep 2021 09:43:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:37748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240553AbhIMNiV (ORCPT ); Mon, 13 Sep 2021 09:38:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 04FAD61103; Mon, 13 Sep 2021 13:28:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539706; bh=EPQOh9AUi631HF9hkHOnIKTLvUSuL/KsF7eC+n6GvEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=10dOtqS5lYE8+uI2zroZKaOCRNX2+rSPkiCz8H9+J0SGSVZmIj7BAoRC0TkwrAmsS qcUds7tzsgWB+LdywjCGDEOwW9ttwM5moys4Q15eZGyQlZYlYTn+cBiglkmcUMk31M M4qv9gJBImzLFYV88NLUNjIuWXgrmK8dvbHECu4I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Matthew Cover , Daniel Borkmann , Sasha Levin Subject: [PATCH 5.10 127/236] bpf, samples: Add missing mprog-disable to xdp_redirect_cpus optstring Date: Mon, 13 Sep 2021 15:13:52 +0200 Message-Id: <20210913131104.683464740@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131100.316353015@linuxfoundation.org> References: <20210913131100.316353015@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthew Cover [ Upstream commit 34ad6d9d8c27293e1895b448af7d6cf5d351ad8d ] Commit ce4dade7f12a ("samples/bpf: xdp_redirect_cpu: Load a eBPF program on cpumap") added the following option, but missed adding it to optstring: - mprog-disable: disable loading XDP program on cpumap entries Fix it and add the missing option character. Fixes: ce4dade7f12a ("samples/bpf: xdp_redirect_cpu: Load a eBPF program on cpumap") Signed-off-by: Matthew Cover Signed-off-by: Daniel Borkmann Link: https://lore.kernel.org/bpf/20210731005632.13228-1-matthew.cover@stackpath.com Signed-off-by: Sasha Levin --- samples/bpf/xdp_redirect_cpu_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bpf/xdp_redirect_cpu_user.c b/samples/bpf/xdp_redirect_cpu_user.c index f78cb18319aa..16eb839e71f0 100644 --- a/samples/bpf/xdp_redirect_cpu_user.c +++ b/samples/bpf/xdp_redirect_cpu_user.c @@ -837,7 +837,7 @@ int main(int argc, char **argv) memset(cpu, 0, n_cpus * sizeof(int)); /* Parse commands line args */ - while ((opt = getopt_long(argc, argv, "hSd:s:p:q:c:xzFf:e:r:m:", + while ((opt = getopt_long(argc, argv, "hSd:s:p:q:c:xzFf:e:r:m:n", long_options, &longindex)) != -1) { switch (opt) { case 'd': -- 2.30.2