linux-stable/drivers/net/ethernet/qlogic/qlcnic
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
qlcnic.h qlcnic: Simplify DMA setting 2022-01-09 16:52:18 -08:00
qlcnic_83xx_hw.c qlcnic: Remove unnecessary aer.h include 2023-03-08 23:34:39 -08:00
qlcnic_83xx_hw.h qlcnic: Simplify DMA setting 2022-01-09 16:52:18 -08:00
qlcnic_83xx_init.c qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure 2022-12-26 09:01:36 +00:00
qlcnic_83xx_vnic.c net: calxeda: Fix wrong function name in comments 2021-05-17 14:12:39 -07:00
qlcnic_ctx.c qlcnic: check pci_reset_function result 2023-04-12 08:32:38 +01:00
qlcnic_dcb.c
qlcnic_dcb.h qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure 2022-12-26 09:01:36 +00:00
qlcnic_ethtool.c qlcnic: Clean up some inconsistent indenting 2022-12-12 15:29:53 -08:00
qlcnic_hdr.h
qlcnic_hw.c ethernet/qlogic: Use list_for_each_entry() to simplify code in qlcnic_hw.c 2021-06-08 16:31:25 -07:00
qlcnic_hw.h qlcnic: Remove the repeated declaration 2021-06-01 15:25:46 -07:00
qlcnic_init.c qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom 2021-09-04 10:50:59 +01:00
qlcnic_io.c net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
qlcnic_main.c qlcnic: Drop redundant pci_enable_pcie_error_reporting() 2023-03-08 23:34:39 -08:00
qlcnic_minidump.c
qlcnic_sriov.h qlcnic: Simplify DMA setting 2022-01-09 16:52:18 -08:00
qlcnic_sriov_common.c drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init() 2022-12-09 10:52:43 +00:00
qlcnic_sriov_pf.c ethernet: Remove vf rate limit check for drivers 2022-06-10 22:19:32 -07:00
qlcnic_sysfs.c qlcnic: Drop redundant pci_enable_pcie_error_reporting() 2023-03-08 23:34:39 -08:00