]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring
authorMatthew Cover <werekraken@gmail.com>
Sat, 31 Jul 2021 00:56:32 +0000 (17:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Sep 2021 08:00:43 +0000 (10:00 +0200)
commit8a77e3efe489de48e884f14435c0bdf67af2e2fa
treeb57146f56215872d8c5f4bb57dd2f70ee2c20fbe
parent0b155d163862726c957dd1f111dfc95e264647cf
bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring

[ 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 <matthew.cover@stackpath.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210731005632.13228-1-matthew.cover@stackpath.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
samples/bpf/xdp_redirect_cpu_user.c