bpf: Allow void return type for global subprogs#11013
bpf: Allow void return type for global subprogs#11013kernel-patches-daemon-bpf[bot] wants to merge 2 commits intobpf-next_basefrom
Conversation
|
Upstream branch: db975de |
a1e329f to
dddd867
Compare
|
Upstream branch: a9aabb3 |
ecef1b2 to
26846a4
Compare
dddd867 to
01f7084
Compare
|
Upstream branch: dc855b7 |
26846a4 to
aa9a2b5
Compare
01f7084 to
2294d0a
Compare
|
Upstream branch: dc855b7 |
aa9a2b5 to
6fcb8be
Compare
2294d0a to
254af9f
Compare
|
Upstream branch: 4475cda |
6fcb8be to
47a7f15
Compare
254af9f to
25c770c
Compare
|
Upstream branch: 19de32d |
47a7f15 to
91a1f49
Compare
25c770c to
1bbc6aa
Compare
|
Upstream branch: a86c608 |
91a1f49 to
6c7c501
Compare
1bbc6aa to
b0043d3
Compare
Global subprogs are currently not allowed to return void. Adjust verifier logic to allow global functions with a void return type. Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
|
Upstream branch: a86c608 |
Add additional testing for void global functions. The tests ensure that calls to void global functions properly keep R0 invalid. Also make sure that exception callbacks still require a return value. Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
6c7c501 to
345e0c9
Compare
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848 expired. Closing PR. |
Pull request for series with
subject: bpf: Allow void return type for global subprogs
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848