07 Nov, 2019

1 commit

  • When compiling larger programs with bpf_asm, it's possible to
    accidentally exceed jt/jf range, in which case it won't complain, but
    rather silently emit a truncated offset, leading to a "happy debugging"
    situation.

    Add a warning to help detecting such issues. It could be made an error
    instead, but this might break compilation of existing code (which might
    be working by accident).

    Signed-off-by: Ilya Leoshkevich
    Signed-off-by: Daniel Borkmann
    Link: https://lore.kernel.org/bpf/20191107100349.88976-1-iii@linux.ibm.com

    Ilya Leoshkevich
     

05 Oct, 2017

1 commit

  • We currently only have BPF tools in the tools/net directory.
    We are about to add more BPF tools there, not necessarily
    networking related, rename the directory and related Makefile
    targets to bpf.

    Suggested-by: Daniel Borkmann
    Signed-off-by: Jakub Kicinski
    Reviewed-by: Simon Horman
    Acked-by: Daniel Borkmann
    Acked-by: Alexei Starovoitov
    Signed-off-by: David S. Miller

    Jakub Kicinski