Re: [PATCH v2] net: hinic: Set max_mtu/min_mtu directly to simplify the code.

From: Jakub Kicinski
Date: Thu Oct 13 2022 - 11:36:06 EST


On Thu, 13 Oct 2022 14:07:08 +0800 Cai Huoqing wrote:
> From: caihuoqing <caihuoqing@xxxxxxxxx>
>
> Set max_mtu/min_mtu directly to avoid making the validity judgment
> when set mtu, because the judgment is made in net/core: dev_validate_mtu,
> so to simplify the code.
>
> Signed-off-by: caihuoqing <caihuoqing@xxxxxxxxx>

Alright, if it's just a cleanup then you'll need to wait a few days
(-rc1 will be this Sunday):

# Form letter - net-next is closed

We have already sent the networking pull request for 6.1
and therefore net-next is closed for new drivers, features,
code refactoring and optimizations. We are currently accepting
bug fixes only.

Please repost when net-next reopens after 6.1-rc1 is cut.

RFC patches sent for review only are obviously welcome at any time.