Merge branch 'xdp-bpf-fixes'
John Fastabend says:
====================
net: Fixes for XDP/BPF
The following fixes, UAPI updates, and small improvement,
i. XDP needs to be called inside RCU with preempt disabled.
ii. Not strictly a bug fix but we have an attach command in the
sockmap UAPI already to avoid having a single kernel released with
only the attach and not the detach I'm pushing this into net branch.
Its early in the RC cycle so I think this is OK (not ideal but better
than supporting a UAPI with a missing detach forever).
iii. Final patch replace cpu_relax with cond_resched in devmap.
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
No related branches found
No related tags found
Showing
- include/linux/bpf.h 4 additions, 4 deletionsinclude/linux/bpf.h
- kernel/bpf/devmap.c 1 addition, 1 deletionkernel/bpf/devmap.c
- kernel/bpf/sockmap.c 1 addition, 1 deletionkernel/bpf/sockmap.c
- kernel/bpf/syscall.c 17 additions, 10 deletionskernel/bpf/syscall.c
- net/core/dev.c 16 additions, 9 deletionsnet/core/dev.c
- tools/testing/selftests/bpf/test_maps.c 50 additions, 1 deletiontools/testing/selftests/bpf/test_maps.c
Loading
Please register or sign in to comment