bpf: fix couple of netdevsim issues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netdevsim: don't accept device bound programsdrivers/ | +2 | 2 replies | |
| 2/2 | bpf: bring back removal of dev-bound id from idrinclude/ kernel/ kernel/ | +16 | 7 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Jakub Kicinski |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/2] bpf: fix couple of netdevsim issues
The first one is found by the syzkaller and needs to make a proper distinction between offloaded and dev-bound cases.
The second one restores behavior where the offloaded/dev-bound programs with a dead netdev were not correctly skipped during BPF_PROG_GET_NEXT_ID.
Stanislav Fomichev (2):
netdevsim: don't accept device bound programs
bpf: bring back removal of dev-bound id from idr
drivers/net/netdevsim/bpf.c | 4 ++-- include/linux/bpf.h | 2 ++ kernel/bpf/offload.c | 3 +++ kernel/bpf/syscall.c | 15 +++++++++++---- 4 files changed, 18 insertions(+), 6 deletions(-)
Signature · 1 line
2.42.0.869.gea05f2083d-goog