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
This commit is contained in:
Feng Yang 2026-03-04 17:44:29 +08:00 • committed by Martin KaFai Lau
commit e8ae16d65a
2 changed files with 31 additions and 0 deletions