linux-stable/drivers/net/ethernet/qlogic/netxen
Vladimir Oltean 1f5020acb3 net: vlan: introduce skb_vlan_eth_hdr()
Similar to skb_eth_hdr() introduced in commit 96cc4b6958 ("macvlan: do
not assume mac_header is set in macvlan_broadcast()"), let's introduce a
skb_vlan_eth_hdr() helper which can be used in TX-only code paths to get
to the VLAN header based on skb->data rather than based on the
skb_mac_header(skb).

We also consolidate the drivers that dereference skb->data to go through
this helper.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-23 14:16:44 +01:00
..
Makefile
netxen_nic.h netxen_nic: Replace fake flex-array with flexible-array member 2023-03-08 00:16:58 -08:00
netxen_nic_ctx.c netxen_nic: switch from 'pci_' to 'dma_' API 2021-01-15 16:41:29 -08:00
netxen_nic_ethtool.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
netxen_nic_hdr.h
netxen_nic_hw.c
netxen_nic_hw.h
netxen_nic_init.c netxen_nic: Fix fall-through warnings for Clang 2021-05-17 19:08:30 -05:00
netxen_nic_main.c net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00