mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
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: 328aa08a08 ("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>
This commit is contained in:
parent
ee9b352ce4
commit
b29e231d66
|
|
@ -1606,7 +1606,7 @@ static void test_txmsg_pull(int cgrp, struct sockmap_options *opt)
|
|||
test_send_large(opt, cgrp);
|
||||
|
||||
/* Test pull + redirect */
|
||||
txmsg_redir = 0;
|
||||
txmsg_redir = 1;
|
||||
txmsg_start = 1;
|
||||
txmsg_end = 2;
|
||||
test_send(opt, cgrp);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user