[PATCH] net/tap: Modified TAP BPF program as per the new Kernel-version upgrade requirements.
Stephen Hemminger
stephen at networkplumber.org
Thu Jan 4 21:41:15 CET 2024
On Thu, 4 Jan 2024 22:57:56 +0530
madhuker.mythri at oracle.com wrote:
> - /* Get correct proto for 802.1ad */
> - if (skb->vlan_present && skb->vlan_proto == htons(ETH_P_8021AD)) {
> - if (data + ETH_ALEN * 2 + sizeof(struct vlan_hdr) +
> - sizeof(proto) > data_end)
> - return TC_ACT_OK;
> - proto = *(__u16 *)(data + ETH_ALEN * 2 +
> - sizeof(struct vlan_hdr));
> - off += sizeof(struct vlan_hdr);
> - }
Your version loses VLAN support?
More information about the dev
mailing list