Re: [PATCH] inet: missing lock releases in udp.c

Cong Wang
2022-01-23T19:57:53Z

On Fri, Jan 21, 2022 at 11:15:53AM +0800, ycaibb wrote:
> From: Ryan Cai <ycaibb@gmail.com>
>
> In method udp_get_first, the lock hslot->lock is not released when afinfo->family == AF_UNSPEC || sk->sk_family == afinfo->family is true. This patch fixes the problem by adding the unlock statement.
>

It should be unlocked by udp_seq_stop(). Do you see any real lockdep
warning or bug report?

Thanks.