Commit 3b8a2b0
bpf: verifier: permit non-zero returns from async callbacks
The verifier currently enforces a zero return value for all async
callbacks—a constraint originally introduced for bpf_timer. That
restriction is too narrow for other async use cases.
Relax the rule by allowing non-zero return codes from async callbacks in
general, while preserving the zero-return requirement for bpf_timer to
maintain its existing semantics.
Signed-off-by: Mykyta Yatsenko <[email protected]>
Acked-by: Eduard Zingerman <[email protected]>1 parent d7fa85b commit 3b8a2b0
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10867 | 10867 | | |
10868 | 10868 | | |
10869 | 10869 | | |
10870 | | - | |
| 10870 | + | |
10871 | 10871 | | |
10872 | 10872 | | |
10873 | 10873 | | |
| |||
17152 | 17152 | | |
17153 | 17153 | | |
17154 | 17154 | | |
17155 | | - | |
17156 | 17155 | | |
17157 | | - | |
| 17156 | + | |
17158 | 17157 | | |
17159 | 17158 | | |
17160 | 17159 | | |
| |||
0 commit comments