> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf
> Of Jakub Sitnicki via Intel-wired-lan
> Sent: Saturday, January 10, 2026 10:05 PM
> To: [email protected]
> Cc: David S. Miller <[email protected]>; Eric Dumazet
> <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni
> <[email protected]>; Simon Horman <[email protected]>; Michael Chan
> <[email protected]>; Pavan Chebbi <[email protected]>;
> Andrew Lunn <[email protected]>; Nguyen, Anthony L
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Saeed Mahameed <[email protected]>;
> Leon Romanovsky <[email protected]>; Tariq Toukan <[email protected]>;
> Mark Bloch <[email protected]>; Alexei Starovoitov <[email protected]>;
> Daniel Borkmann <[email protected]>; Jesper Dangaard Brouer
> <[email protected]>; John Fastabend <[email protected]>;
> Stanislav Fomichev <[email protected]>; intel-wired-
> [email protected]; [email protected]; [email protected]
> Subject: [Intel-wired-lan] [PATCH net-next 04/10] igb: Call
> skb_metadata_set when skb->data points past metadata
>
> Prepare to copy the XDP metadata into an skb extension in
> skb_metadata_set.
>
> Adjust the driver to pull from skb->data before calling
> skb_metadata_set.
>
> Signed-off-by: Jakub Sitnicki <[email protected]>
> ---
> drivers/net/ethernet/intel/igb/igb_xsk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/intel/igb/igb_xsk.c
> b/drivers/net/ethernet/intel/igb/igb_xsk.c
> index 30ce5fbb5b77..9202da66e32c 100644
> --- a/drivers/net/ethernet/intel/igb/igb_xsk.c
> +++ b/drivers/net/ethernet/intel/igb/igb_xsk.c
> @@ -284,8 +284,8 @@ static struct sk_buff *igb_construct_skb_zc(struct
> igb_ring *rx_ring,
> ALIGN(totalsize, sizeof(long)));
>
> if (metasize) {
> - skb_metadata_set(skb, metasize);
> __skb_pull(skb, metasize);
> + skb_metadata_set(skb, metasize);
> }
>
> return skb;
>
> --
> 2.43.0
Reviewed-by: Aleksandr Loktionov <[email protected]>