Skip to content

bpf: Allow void return type for global subprogs#11013

Closed
kernel-patches-daemon-bpf[bot] wants to merge 2 commits intobpf-next_basefrom
series/1052848=>bpf-next
Closed

bpf: Allow void return type for global subprogs#11013
kernel-patches-daemon-bpf[bot] wants to merge 2 commits intobpf-next_basefrom
series/1052848=>bpf-next

Conversation

@kernel-patches-daemon-bpf
Copy link

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

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: db975de
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: a9aabb3
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: dc855b7
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: dc855b7
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 4475cda
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 19de32d
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: a86c608
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848
version: 2

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>
@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: a86c608
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848
version: 2

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>
@kernel-patches-daemon-bpf
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1052848 expired. Closing PR.

@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot deleted the series/1052848=>bpf-next branch February 14, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant