[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZHCMvdQPlwccCdwo@corigine.com>
Date: Fri, 26 May 2023 12:41:01 +0200
From: Simon Horman <simon.horman@...igine.com>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>, davem@...emloft.net,
kuba@...nel.org, Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, Thomas Graf <tgraf@...radead.org>,
Alexander Duyck <alexanderduyck@...com>
Subject: Re: [PATCH net 3/3] rtnetlink: add the missing IFLA_GRO_ tb check in
validate_linkmsg
On Thu, May 25, 2023 at 05:49:17PM -0400, Xin Long wrote:
> This fixes the issue that dev gro_max_size and gso_ipv4_max_size
> can be set to a huge value:
>
> # ip link add dummy1 type dummy
> # ip link set dummy1 gro_max_size 4294967295
> # ip -d link show dummy1 |grep gro_max_size
> dummy addrgenmode eui64 ... gro_max_size 4294967295
>
> Fixes: 0fe79f28bfaf ("net: allow gro_max_size to exceed 65536")
> Fixes: 9eefedd58ae1 ("net: add gso_ipv4_max_size and gro_ipv4_max_size per device")
> Reported-by: Xiumei Mu <xmu@...hat.com>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists