]> 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>
Sat, 14 Dec 2024 18:50:55 +0000 (19:50 +0100)
commit7f23fb2e0a156ac8a33f052379ef7790d09145cf
tree8afdf380e133183e20bebcec0ae600bdc617d1c5
parentf1116a9d236edec5ac364de83d97fbc1be57f77e
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