-
Notifications
You must be signed in to change notification settings - Fork 5
bpf: net_sched: Fix using bpf qdisc as default qdisc #5240
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
bpf: net_sched: Fix using bpf qdisc as default qdisc #5240
Conversation
Upstream branch: be2fea9 |
93b2b34
to
cbfb0bb
Compare
Upstream branch: 5cffad0 |
fa16577
to
3643d69
Compare
cbfb0bb
to
6798fa2
Compare
Upstream branch: 53ebef5 |
3643d69
to
61abc26
Compare
6798fa2
to
6018c60
Compare
Upstream branch: 6aca583 |
61abc26
to
a8187ef
Compare
6018c60
to
fcaefb6
Compare
Upstream branch: b9c09fb |
a8187ef
to
a480813
Compare
Upstream branch: b9c09fb |
a480813
to
d6ec969
Compare
fcaefb6
to
ec152f6
Compare
Upstream branch: 60400cd |
d6ec969
to
823e5af
Compare
ec152f6
to
36349cc
Compare
Upstream branch: 4cc2048 |
823e5af
to
7caea58
Compare
36349cc
to
267f1d3
Compare
Upstream branch: 46eb012 |
7caea58
to
0b217b1
Compare
267f1d3
to
5df03a7
Compare
Upstream branch: 64821d2 |
0b217b1
to
0a6f14b
Compare
5df03a7
to
2eb2671
Compare
Upstream branch: 91dbac4 |
0a6f14b
to
c8b044b
Compare
2eb2671
to
044273f
Compare
Upstream branch: 224ee86 |
c8b044b
to
a491485
Compare
044273f
to
fea86b9
Compare
Upstream branch: 8e64c38 |
a491485
to
cf03a24
Compare
Upstream branch: 8e64c38 |
cf03a24
to
dd684ee
Compare
fea86b9
to
f482624
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 <ameryhung@gmail.com>
dd684ee
to
ba3c990
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