Files
linux/tools/testing/selftests/bpf/prog_tests/lwt_misc.c
Feng Yang e8ae16d65a selftests/bpf: Add selftests for the invocation of bpf_lwt_xmit_push_encap
Calling bpf_lwt_xmit_push_encap will not cause a crash when dst is missing.

Signed-off-by: Feng Yang <yangfeng@kylinos.cn>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20260304094429.168521-3-yangfeng59949@163.com
2026-03-04 16:44:29 -08:00

10 lines
140 B
C

// SPDX-License-Identifier: GPL-2.0
#include <test_progs.h>
#include "lwt_misc.skel.h"
void test_lwt_misc(void)
{
RUN_TESTS(lwt_misc);
}