Thread (12 messages) 12 messages, 3 authors, 17d ago

Re: [PATCH bpf-next v11 5/5] selftests/bpf: add bpf_icmp_send no route test

From: Stanislav Fomichev <hidden>
Date: 2026-07-10 00:13:44
Also in: bpf

On 07/09, Mahe Tardy wrote:
For normal live cgroup_skb paths, the skb should already be routed. The
exception is for test run via BPF_PROG_TEST_RUN with packets created
via bpf_prog_test_run_skb. Those lack dst route and thus the icmp_send
would quietly fail by returning early.

This test exercises this and makes sure the kfunc returns -ENETUNREACH.

Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Reviewed-by: Jordan Rife <redacted>
Signed-off-by: Mahe Tardy <redacted>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help