Re: Should the return value of the copy_from_sockptr be checked?

From: Cong Wang
Date: Wed Sep 11 2024 - 00:46:50 EST


On Wed, Sep 11, 2024 at 11:18:00AM +0800, Qianqiang Liu wrote:
> Hi,
>
> Should the return value of the copy_from_sockptr in net/socket.c be checked?
> The following patch may solve this problem:

Yes, please submit a formal patch.
https://www.kernel.org/doc/html/latest/process/submitting-patches.html

Thanks.