Re: [PATCH] net/socket: Ensure length of input socket option param >= sizeof(int)

From: Jakub Kicinski
Date: Tue Apr 09 2024 - 14:28:22 EST


On Tue, 9 Apr 2024 22:01:45 +0800 Edward Adam Davis wrote:
> > I think I gave my feedback already.
> >
> > Please do not ignore maintainers feedback.
> >
> > This patch is absolutely wrong.
> >
> > Some setsockopt() deal with optlen == 1 just fine, thank you very much.
>
> It's better to use evidence to support your claim, rather than your "maintainer" title.

Run selftests.