Messages in this thread | | | Subject | Re: [PATCH] Inet-hashtable: Change the range of sk->hash lock to avoid the race condition. | From | Eric Dumazet <> | Date | Thu, 12 Sep 2013 05:00:04 -0700 |
| |
On Thu, 2013-09-12 at 12:32 -0400, Jun Chen wrote: > When try to add node to list in __inet_hash_nolisten function, first get the > list and then to lock for using, but in extremeness case, others can del this > node before locking it, then the node should be null.So this patch try to lock > firstly and then get the list for using to avoid this race condition.
I suspect another bug. This should not happen.
Care to describe the problem you got ?
Thanks
| |