Commit bdf1fa3
bpf: Make bpf_skb_change_head helper metadata-safe
Although bpf_skb_change_head() doesn't move packet data after skb_push(),
skb metadata still needs to be relocated. Use the dedicated helper to
handle it.
Signed-off-by: Jakub Sitnicki <[email protected]>1 parent a7551ef commit bdf1fa3
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3882 | 3882 | | |
3883 | 3883 | | |
3884 | 3884 | | |
| 3885 | + | |
3885 | 3886 | | |
3886 | 3887 | | |
3887 | 3888 | | |
| |||
3891 | 3892 | | |
3892 | 3893 | | |
3893 | 3894 | | |
3894 | | - | |
| 3895 | + | |
3895 | 3896 | | |
3896 | 3897 | | |
3897 | 3898 | | |
| |||
3903 | 3904 | | |
3904 | 3905 | | |
3905 | 3906 | | |
| 3907 | + | |
3906 | 3908 | | |
3907 | 3909 | | |
3908 | 3910 | | |
| |||
0 commit comments