]> 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)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 16 Oct 2024 20:42:04 +0000 (13:42 -0700)
commitb29e231d66303c12b7b8ac3ac2a057df06b161e8
treec77eac5a2cb05a8bb8d4f1ba812f28b386c0e973
parentee9b352ce4650ffc0d8ca0ac373d7c009c7e561e
selftests/bpf: Fix txmsg_redir of test_txmsg_pull in test_sockmap

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>
tools/testing/selftests/bpf/test_sockmap.c