[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+FuTSdfvctFD3AVMHzQV9efQERcKVE1TcYVD_T84eSgq9x4OA@mail.gmail.com>
Date: Sat, 18 Jul 2020 11:58:09 -0400
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Sriram Krishnan <srirakr2@...co.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
xe-linux-external@...co.com,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Network Development <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] AF_PACKET doesnt strip VLAN information
On Sat, Jul 18, 2020 at 5:25 AM Sriram Krishnan <srirakr2@...co.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.
Powered by blists - more mailing lists