Messages in this thread | | | Date | Sun, 23 Jan 2022 11:57:43 -0800 | From | Cong Wang <> | Subject | Re: [PATCH] inet: missing lock releases in udp.c |
| |
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.
| |