Commit 5d8a485
bpf: Make bpf_skb_change_proto helper metadata-safe
bpf_skb_change_proto reuses the same headroom operations as
bpf_skb_adjust_room, already updated to handle metadata safely.
The remaining step is to ensure that there is sufficient headroom to
accommodate metadata on skb_push().
Signed-off-by: Jakub Sitnicki <[email protected]>1 parent ae82560 commit 5d8a485
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3324 | 3324 | | |
3325 | 3325 | | |
3326 | 3326 | | |
| 3327 | + | |
3327 | 3328 | | |
3328 | 3329 | | |
3329 | 3330 | | |
3330 | | - | |
| 3331 | + | |
3331 | 3332 | | |
3332 | 3333 | | |
3333 | 3334 | | |
| |||
0 commit comments