Commit d6f1629
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 37cb61a commit d6f1629
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10871 | 10871 | | |
10872 | 10872 | | |
10873 | 10873 | | |
10874 | | - | |
| 10874 | + | |
10875 | 10875 | | |
10876 | 10876 | | |
10877 | 10877 | | |
| |||
17156 | 17156 | | |
17157 | 17157 | | |
17158 | 17158 | | |
17159 | | - | |
17160 | 17159 | | |
17161 | | - | |
| 17160 | + | |
17162 | 17161 | | |
17163 | 17162 | | |
17164 | 17163 | | |
| |||
0 commit comments