github.com/looshlee/beatles@v0.0.0-20220727174639-742810ab631c/bpf/probes/raw_change_tail.t (about) 1 /* Tests for availability of kernel commits (4.9+): 2 * 3 * 5293efe62df8 ("bpf: add bpf_skb_change_tail helper") 4 */ 5 { 6 .emits = "HAVE_SKB_CHANGE_TAIL", 7 .type = BPF_PROG_TYPE_SCHED_CLS, 8 .insns = { 9 BPF_MOV64_IMM(BPF_REG_2, 0), 10 BPF_MOV64_IMM(BPF_REG_3, 0), 11 BPF_EMIT_CALL(BPF_FUNC_skb_change_tail), 12 BPF_EXIT_INSN(), 13 }, 14 .warn = "Kernel does not support bpf_skb_change_tail() helper. " 15 "Therefore, cilium does not support sending ICMPv6 time " 16 "exceeded notifications. Recommendation is to run 4.9+ " 17 "kernels.", 18 },