Commit 0e7a733
bpf: Clear packet pointers after changing packet data in kfuncs
bpf_xdp_pull_data() may change packet data and therefore packet pointers
need to be invalidated. Add bpf_xdp_pull_data() to the special kfunc
list instead of introducing a new KF_ flag until there are more kfuncs
changing packet data.
Signed-off-by: Amery Hung <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://patch.msgid.link/[email protected]1 parent 4dce1a0 commit 0e7a733
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12235 | 12235 | | |
12236 | 12236 | | |
12237 | 12237 | | |
| 12238 | + | |
12238 | 12239 | | |
12239 | 12240 | | |
12240 | 12241 | | |
| |||
12285 | 12286 | | |
12286 | 12287 | | |
12287 | 12288 | | |
| 12289 | + | |
12288 | 12290 | | |
12289 | 12291 | | |
12290 | 12292 | | |
12291 | 12293 | | |
| 12294 | + | |
12292 | 12295 | | |
12293 | 12296 | | |
12294 | 12297 | | |
| |||
12358 | 12361 | | |
12359 | 12362 | | |
12360 | 12363 | | |
| 12364 | + | |
| 12365 | + | |
| 12366 | + | |
| 12367 | + | |
| 12368 | + | |
12361 | 12369 | | |
12362 | 12370 | | |
12363 | 12371 | | |
| |||
14077 | 14085 | | |
14078 | 14086 | | |
14079 | 14087 | | |
| 14088 | + | |
| 14089 | + | |
| 14090 | + | |
14080 | 14091 | | |
14081 | 14092 | | |
14082 | 14093 | | |
| |||
17794 | 17805 | | |
17795 | 17806 | | |
17796 | 17807 | | |
| 17808 | + | |
| 17809 | + | |
17797 | 17810 | | |
17798 | 17811 | | |
17799 | 17812 | | |
| |||
0 commit comments