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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 21 Aug 2022 18:45:14 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Sergei Antonov <saproj@...il.com>
Cc:     netdev@...r.kernel.org, olteanv@...il.com, davem@...emloft.net,
        edumazet@...gle.com, kuba@...nel.org
Subject: Re: [PATCH] net: ftmac100: set max_mtu to allow DSA overhead setting

On Sun, Aug 21, 2022 at 07:08:44PM +0300, Sergei Antonov wrote:
> In case ftmac100 is used with a DSA switch, Linux wants to set MTU
> to 1504 to accommodate for DSA overhead. With the default max_mtu
> it leads to the error message:
>  ftmac100 92000000.mac eth0: error -22 setting MTU to 1504 to include DSA overhead
> 
> ftmac100 supports packet length 1518 (MAX_PKT_SIZE constant), so it is
> safe to report it in max_mtu.
> 
> Signed-off-by: Sergei Antonov <saproj@...il.com>

Reviewed-by: Andrew Lunn <andrew@...n.ch>

    Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ