OpenCloudOS-Kernel/drivers/staging/gdm724x
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
..
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile
TODO
gdm_endian.c
gdm_endian.h
gdm_lte.c net: vlan: introduce skb_vlan_eth_hdr() 2023-04-23 14:16:44 +01:00
gdm_lte.h
gdm_mux.c staging: gdm724x: Clarify naming of packet_type<->tty index symbols 2020-10-26 06:53:10 +01:00
gdm_mux.h staging: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01:00
gdm_tty.c staging: gdm724x: Replace macro GDM_TTY_READY with static inline function 2022-11-22 13:20:16 +01:00
gdm_tty.h
gdm_usb.c staging: gdm724x: Fix DMA from stack 2021-02-11 11:08:17 +01:00
gdm_usb.h
hci.h
hci_packet.h staging: gdm724x: Replace one-element array with flexible-array member 2022-02-08 10:33:45 +01:00
netlink_k.c staging: gdm724x: Place macro argument within parentheses 2021-08-12 10:21:50 +02:00
netlink_k.h staging: gdm724x: use netdev_err() instead of pr_err() 2020-03-20 15:07:45 +01:00