Commit 4e0d58b
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 5d8a485 commit 4e0d58b
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3873 | 3873 | | |
3874 | 3874 | | |
3875 | 3875 | | |
| 3876 | + | |
3876 | 3877 | | |
3877 | 3878 | | |
3878 | 3879 | | |
| |||
3881 | 3882 | | |
3882 | 3883 | | |
3883 | 3884 | | |
3884 | | - | |
| 3885 | + | |
3885 | 3886 | | |
3886 | 3887 | | |
3887 | 3888 | | |
| |||
3893 | 3894 | | |
3894 | 3895 | | |
3895 | 3896 | | |
| 3897 | + | |
3896 | 3898 | | |
3897 | 3899 | | |
3898 | 3900 | | |
| |||
0 commit comments