1. 15 Sep, 2018 1 commit
  2. 09 Aug, 2018 1 commit
  3. 10 Jul, 2018 1 commit
  4. 05 Jul, 2018 4 commits
  5. 03 Jul, 2018 1 commit
  6. 28 Jun, 2018 1 commit
    • David Ahern's avatar
      bpf: Change bpf_fib_lookup to return lookup status · 4c79579b
      David Ahern authored
      For ACLs implemented using either FIB rules or FIB entries, the BPF
      program needs the FIB lookup status to be able to drop the packet.
      Since the bpf_fib_lookup API has not reached a released kernel yet,
      change the return code to contain an encoding of the FIB lookup
      result and return the nexthop device index in the params struct.
      
      In addition, inform the BPF program of any post FIB lookup reason as
      to why the packet needs to go up the stack.
      
      The fib result for unicast routes must have an egress device, so remove
      the check that it is non-NULL.
      Signed-off-by: 's avatarDavid Ahern <dsahern@gmail.com>
      Signed-off-by: 's avatarDaniel Borkmann <daniel@iogearbox.net>
      4c79579b
  7. 05 Jun, 2018 1 commit
  8. 04 Jun, 2018 3 commits
  9. 25 May, 2018 3 commits
  10. 22 May, 2018 1 commit
  11. 18 May, 2018 1 commit
  12. 16 May, 2018 1 commit
  13. 15 May, 2018 5 commits
  14. 14 May, 2018 1 commit
  15. 13 May, 2018 1 commit
  16. 10 May, 2018 5 commits
  17. 03 May, 2018 1 commit
  18. 30 Apr, 2018 1 commit
    • Yonghong Song's avatar
      samples/bpf: fix kprobe attachment issue on x64 · 34745aed
      Yonghong Song authored
      Commit d5a00528 ("syscalls/core, syscalls/x86: Rename
      struct pt_regs-based sys_*() to __x64_sys_*()") renamed a lot
      of syscall function sys_*() to __x64_sys_*().
      This caused several kprobe based samples/bpf tests failing.
      
      This patch fixed the problem in bpf_load.c.
      For x86_64 architecture, function name __x64_sys_*() will be
      first used for kprobe event creation. If the creation is successful,
      it will be used. Otherwise, function name sys_*() will be used
      for kprobe event creation.
      
      Fixes: d5a00528 ("syscalls/core, syscalls/x86: Rename struct pt_regs-based sys_*() to __x64_sys_*()")
      Signed-off-by: 's avatarYonghong Song <yhs@fb.com>
      Signed-off-by: 's avatarAlexei Starovoitov <ast@kernel.org>
      34745aed
  19. 29 Apr, 2018 1 commit
  20. 26 Apr, 2018 2 commits
  21. 24 Apr, 2018 1 commit
  22. 18 Apr, 2018 3 commits