From: David S. Miller Date: Sun, 23 Apr 2023 13:16:45 +0000 (+0100) Subject: Merge branch 'dsa-skb_mac_header' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=00266b365d2b5a7ab4c9fa300784607d5770f8bc;p=linux.git Merge branch 'dsa-skb_mac_header' Vladimir Oltean says: ==================== Remove skb_mac_header() dependency in DSA xmit path Eric started working on removing skb_mac_header() assumptions from the networking xmit path, and I offered to help for DSA: https://lore.kernel.org/netdev/20230321164519.1286357-1-edumazet@google.com/ The majority of this patch set is a straightforward replacement of skb_mac_header() with skb->data (hidden either behind skb_eth_hdr(), or behind skb_vlan_eth_hdr()). The only patch which is more "interesting" is 9/9. Another potential caller of __skb_vlan_pop() on xmit (and therefore also of skb_mac_header()) is tcf_vlan_act(), but I haven't had the time to investigate that (enough to submit changes other than what's here). v1->v2: - 09/09: document the vlan_tci argument of vlan_remove_tag() in the kdoc v1 at: https://lore.kernel.org/netdev/20230322233823.1806736-1-vladimir.oltean@nxp.com/ Cc: Madalin Bucur ==================== Signed-off-by: David S. Miller --- 00266b365d2b5a7ab4c9fa300784607d5770f8bc