1. 18 7月, 2018 2 次提交
  2. 12 7月, 2018 1 次提交
  3. 05 7月, 2018 1 次提交
  4. 29 6月, 2018 1 次提交
    • D
      bpf: Change bpf_fib_lookup to return lookup status · 4c79579b
      David Ahern 提交于
      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: NDavid Ahern <dsahern@gmail.com>
      Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
      4c79579b
  5. 26 6月, 2018 2 次提交
  6. 09 6月, 2018 4 次提交
  7. 05 6月, 2018 1 次提交
  8. 04 6月, 2018 3 次提交
  9. 25 5月, 2018 3 次提交
  10. 22 5月, 2018 1 次提交
  11. 18 5月, 2018 1 次提交
  12. 17 5月, 2018 1 次提交
  13. 15 5月, 2018 6 次提交
  14. 14 5月, 2018 1 次提交
  15. 11 5月, 2018 5 次提交
  16. 04 5月, 2018 1 次提交
  17. 30 4月, 2018 1 次提交
    • Y
      samples/bpf: fix kprobe attachment issue on x64 · 34745aed
      Yonghong Song 提交于
      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: NYonghong Song <yhs@fb.com>
      Signed-off-by: NAlexei Starovoitov <ast@kernel.org>
      34745aed
  18. 29 4月, 2018 1 次提交
  19. 27 4月, 2018 2 次提交
  20. 25 4月, 2018 2 次提交