Messages in this thread | | | From | Willem de Bruijn <> | Date | Sat, 18 Jul 2020 11:58:09 -0400 | Subject | Re: [PATCH v2] AF_PACKET doesnt strip VLAN information |
| |
On Sat, Jul 18, 2020 at 5:25 AM Sriram Krishnan <srirakr2@cisco.com> wrote: > > When an application sends with AF_PACKET and places a vlan header on > the raw packet; then the AF_PACKET needs to move the tag into the skb > so that it gets processed normally through the rest of the transmit > path. > > This is particularly a problem on Hyper-V where the host only allows > vlan in the offload info.
Shouldn't this be resolved in that driver, then?
Packet sockets are not the only way to introduce packets in the kernel. Tuntap would be another.
| |