aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf.c
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2018-05-15 23:20:52 +0000
committerDaniel Borkmann <[email protected]>2018-05-16 20:04:52 +0000
commit44edef77bd92730e1520b07f5ae2c9f4628738a8 (patch)
treec974f9f6e52e873b0444c3f8f634741fbf74c88f /tools/lib/bpf/bpf.c
parentMerge branch 'bpf-sock-hashmap' (diff)
downloadkernel-44edef77bd92730e1520b07f5ae2c9f4628738a8.tar.gz
kernel-44edef77bd92730e1520b07f5ae2c9f4628738a8.zip
samples/bpf: Decrement ttl in fib forwarding example
Only consider forwarding packets if ttl in received packet is > 1 and decrement ttl before handing off to bpf_redirect_map. Signed-off-by: David Ahern <[email protected]> Acked-by: Yonghong Song <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions