Re: [PATCH net-next] net: sock: add the case if sk is NULL
From: Eric Dumazet
Date: Mon Aug 09 2021 - 05:15:51 EST
On 8/6/21 8:38 AM, Yajun Deng wrote:
> Add the case if sk is NULL in sock_{put, hold},
> The caller is free to use it.
>
Can we please stop adding code like that all over the places ?
This is wrong, fix the callers that are lazy, or fix the real bug
if this is a syzbot report.