Re: [PATCH net-next 8/9] net: dsa: update TX path comments to not mention skb_mac_header()

From: Florian Fainelli
Date: Thu Mar 23 2023 - 12:35:27 EST


On 3/22/23 16:38, Vladimir Oltean wrote:
Once commit 6d1ccff62780 ("net: reset mac header in dev_start_xmit()")
will be reverted, it will no longer be true that skb->data points at
skb_mac_header(skb) - since the skb->mac_header will not be set - so
stop saying that, and just say that it points to the MAC header.

I've reviewed vlan_insert_tag() and it does not *actually* depend on
skb_mac_header(), so reword that to avoid the confusion.

Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

}

--
Florian