Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 11 Oct 2023 08:47:03 -0700 | Subject | Re: [PATCH] Remove extra unlock for the mutex | From | Florian Fainelli <> |
| |
On 10/10/2023 5:28 PM, Kuniyuki Iwashima wrote: > From: Florian Fainelli <f.fainelli@gmail.com> > Date: Tue, 10 Oct 2023 15:51:13 -0700 >> On 10/10/23 15:46, Abhinav Singh wrote: >>> There is a double unlock on mutex. This can cause undefined behaviour. >> >> Where is the double unlock of head->lock (which is a spinlock and not a >> mutex, btw)? > > Maybe head is just confused with the preceding head2 as the two are > the same type of struct. They are pointers of different hash tables > though.
Suspecting that much as well, though wanted to read it from the submitter. -- Florian
| ![\](/images/icornerr.gif) |