[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <67ed4392-18d2-4cb3-8ed4-df65737f3da6@kernel.org>
Date: Thu, 11 Apr 2024 15:14:32 -0600
From: David Ahern <dsahern@...nel.org>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, Stefano Brivio <sbrivio@...hat.com>,
Ilya Maximets <i.maximets@....org>, donald.hunter@...il.com
Subject: Re: [PATCH net] inet: bring NLM_DONE out to a separate recv() again
On 4/11/24 3:01 PM, Jakub Kicinski wrote:
> On Thu, 11 Apr 2024 13:45:42 -0600 David Ahern wrote:
>>> + /* Don't let NLM_DONE coalesce into a message, even if it could.
>>> + * Some user space expects NLM_DONE in a separate recv().
>>
>> that's unfortunate
>
> Do you have an opinion on the sysfs/opt-in question?
Not a performance critical path, so I would not add it right now.
> Feels to me like there shouldn't be that much user space doing raw
> netlink, without a library. Old crufty code usually does ioctls, right?
> So maybe we can periodically reintroduce this bug to shake out all
> the bad apps? :D
:-) On the one hand, yea, push apps to improve. On the other, Donald
(FRR) is one who complains about nightmares chasing nuances across kernels.
Powered by blists - more mailing lists