-
Notifications
You must be signed in to change notification settings - Fork 127
bpf: net_sched: Fix using bpf qdisc as default qdisc #8827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Upstream branch: be2fea9 |
4f05866
to
e9b7177
Compare
Upstream branch: 5cffad0 |
56b1bc4
to
df08a59
Compare
e9b7177
to
f106256
Compare
Upstream branch: 53ebef5 |
df08a59
to
6098f50
Compare
f106256
to
8b59228
Compare
Upstream branch: 6aca583 |
6098f50
to
deaa02b
Compare
8b59228
to
9c93586
Compare
Upstream branch: b9c09fb |
deaa02b
to
31c0f98
Compare
Upstream branch: b9c09fb |
31c0f98
to
c5ad09a
Compare
9c93586
to
ca1daab
Compare
Upstream branch: 60400cd |
c5ad09a
to
2f17802
Compare
ca1daab
to
cad9039
Compare
Upstream branch: 4cc2048 |
2f17802
to
435a0e5
Compare
cad9039
to
c7849f3
Compare
Upstream branch: 46eb012 |
435a0e5
to
c37beab
Compare
c7849f3
to
a041a61
Compare
Upstream branch: 91dbac4 |
c37beab
to
9223a59
Compare
a041a61
to
b2666a3
Compare
Upstream branch: 224ee86 |
9223a59
to
945a828
Compare
b2666a3
to
9afa005
Compare
Upstream branch: 8e64c38 |
945a828
to
60650ef
Compare
Upstream branch: 8e64c38 |
60650ef
to
bbbe41a
Compare
9afa005
to
993c0c1
Compare
Upstream branch: 38d976c |
Use bpf_try_module_get()/bpf_module_put() instead of try_module_get()/ module_put() when handling default qdisc since users can assign a bpf qdisc to it. To trigger the bug: $ bpftool struct_ops register bpf_qdisc_fq.bpf.o /sys/fs/bpf $ echo bpf_fq > /proc/sys/net/core/default_qdisc Fixes: c824034 ("bpf: net_sched: Support implementation of Qdisc_ops in bpf") Signed-off-by: Amery Hung <[email protected]>
bbbe41a
to
95c6772
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=958247 irrelevant now. Closing PR. |
Pull request for series with
subject: bpf: net_sched: Fix using bpf qdisc as default qdisc
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=955915