[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <EB2BBD52-2795-4D17-AAE5-389635B69326@linux.alibaba.com>
Date: Sat, 27 May 2023 12:20:45 +0800
From: Cambda Zhu <cambda@...ux.alibaba.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Jason Xing <kerneljasonxing@...il.com>,
Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
Dust Li <dust.li@...ux.alibaba.com>,
Tony Lu <tonylu@...ux.alibaba.com>,
Jack Yang <mingliang@...ux.alibaba.com>
Subject: Re: [PATCH net v2] tcp: Return user_mss for TCP_MAXSEG in
CLOSE/LISTEN state if user_mss set
> On May 27, 2023, at 10:41, Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Wed, 24 May 2023 21:13:31 +0800 Cambda Zhu wrote:
>> This patch replaces the tp->mss_cache check in getting TCP_MAXSEG
>> with tp->rx_opt.user_mss check for CLOSE/LISTEN sock. Since
>> tp->mss_cache is initialized with TCP_MSS_DEFAULT, checking if
>> it's zero is probably a bug.
>>
>> With this change, getting TCP_MAXSEG before connecting will return
>> default MSS normally, and return user_mss if user_mss is set.
>
> Hi, your patch was marked as "Changes requested" by DaveM (I think).
> Presumably because of the missing CCs. Would you mind resending one
> more time with the fuller CC list?
I have resubmitted the patch and hope I got everything right this time :)
Thanks!
Cambda
Powered by blists - more mailing lists