lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CACRpkdY2UiFyTvF=zuk-rSZBi+yH6cP-QRkegMgc3wf=9JD_Wg@mail.gmail.com> Date: Thu, 2 Nov 2023 23:09:59 +0100 From: Linus Walleij <linus.walleij@...aro.org> To: Florian Fainelli <f.fainelli@...il.com> Cc: Andrew Lunn <andrew@...n.ch>, Vladimir Oltean <olteanv@...il.com>, "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Luiz Angelo Daros de Luca <luizluca@...il.com>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH net v3] net: dsa: tag_rtl4_a: Bump min packet size On Thu, Nov 2, 2023 at 7:43 PM Florian Fainelli <f.fainelli@...il.com> wrote: > Looking at drivers/net/ethernet/cortina/gemini.c, should not we account > for when the MAC is used as a conduit and include the right amount of > "MTU" bytes? Something like this (compile tested only): The DSA core already fixes this by adding the tag size to the MTU of the conduit interface, so netdev->mtu is already 1504 for this switch. I found other oddities though so I'm digging into the driver! Thanks, Linus Walleij
Powered by blists - more mailing lists