Commit a7551ef
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 70b79ec commit a7551ef
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3333 | 3333 | | |
3334 | 3334 | | |
3335 | 3335 | | |
| 3336 | + | |
3336 | 3337 | | |
3337 | 3338 | | |
3338 | 3339 | | |
3339 | | - | |
| 3340 | + | |
3340 | 3341 | | |
3341 | 3342 | | |
3342 | 3343 | | |
| |||
0 commit comments