]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf: Fix txmsg_redir of test_txmsg_pull in test_sockmap
authorZijian Zhang <zijianzhang@bytedance.com>
Sat, 12 Oct 2024 20:37:31 +0000 (20:37 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:53:15 +0000 (13:53 +0100)
commit6a23c19e510bb0a5707bb9e0171925fb4f9a775c
tree0d5ac14ce0d1effcd12687e74ceaeb46c00c8071
parent6a2ff9c7433d3d84e9e45659c2ce9666d281b0de
selftests/bpf: Fix txmsg_redir of test_txmsg_pull in test_sockmap

[ Upstream commit b29e231d66303c12b7b8ac3ac2a057df06b161e8 ]

txmsg_redir in "Test pull + redirect" case of test_txmsg_pull should be
1 instead of 0.

Fixes: 328aa08a081b ("bpf: Selftests, break down test_sockmap into subtests")
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Zijian Zhang <zijianzhang@bytedance.com>
Link: https://lore.kernel.org/r/20241012203731.1248619-3-zijianzhang@bytedance.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/bpf/test_sockmap.c