Commit 495f04c
xsk: Call skb_metadata_set when skb->data points at metadata end
Prepare to track skb metadata location independently of MAC header offset.
Following changes will make skb_metadata_set() record where metadata ends
relative to skb->head. Hence the helper must be called when skb->data
already points past the metadata area.
Adjust AF_XDP to pull from skb->data before calling skb_metadata_set().
Signed-off-by: Jakub Sitnicki <[email protected]>1 parent 0df3d70 commit 495f04c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
771 | | - | |
772 | 771 | | |
| 772 | + | |
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| |||
0 commit comments