summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-07-02 20:45:24 +0200
committerSven Eckelmann <sven@narfation.org>2026-07-02 21:20:38 +0200
commitfdb3be00ba4dafa313e699d6b5b90d13f22f3f25 (patch)
tree4b9f854298829aa0d6eec25f9803f21a7222cd17 /include
parent49df66b7993c80b80c7eb9a84ba5b3410c8296a0 (diff)
batman-adv: fix VLAN priority offset
The batadv_skb_set_priority() receives an SKB with the inner ethernet header at position "offset". When it tries to extract the IPv4 and IPv6 header, it needs to skip the ethernet header to get access to the IP header. But for VLAN header, it performs the access with the struct vlan_ethhdr. This struct contains both both the ethernet header and the VLAN header. It is therefore incorrect to skip over the whole vlan_ethhdr size to get access to the vlan_ethhdr. Cc: stable@vger.kernel.org Fixes: c54f38c9aa22 ("batman-adv: set skb priority according to content") Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions