kernel_samsung_a53x/net/batman-adv
Vladimir Oltean 39ce12db8b net: vlan: introduce skb_vlan_eth_hdr()
[ Upstream commit 1f5020acb33f926030f62563c86dffca35c7b701 ]

Similar to skb_eth_hdr() introduced in commit 96cc4b69581d ("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>
Stable-dep-of: 9fc95fe95c3e ("net: fec: correct queue selection")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:11:48 +01:00
..
bat_algo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_algo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_iv_ogm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_iv_ogm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_v.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_v.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_v_elp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_v_elp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_v_ogm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bat_v_ogm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bitarray.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bitarray.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bridge_loop_avoidance.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bridge_loop_avoidance.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
distributed-arp-table.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
distributed-arp-table.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fragmentation.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fragmentation.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gateway_client.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gateway_client.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gateway_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gateway_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hard-interface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hard-interface.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hash.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hash.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
icmp_socket.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
icmp_socket.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
log.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
log.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
multicast.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
multicast.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netlink.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
network-coding.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
network-coding.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
originator.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
originator.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
routing.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
routing.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
send.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
send.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
soft-interface.c net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
soft-interface.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tp_meter.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tp_meter.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
translation-table.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
translation-table.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tvlv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tvlv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00