commit | 7dfde179c38056b91d51e60f3d50902387f27c84 | [log] [tgz] |
---|---|---|
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | Wed May 26 00:44:44 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat May 29 00:18:50 2010 -0700 |
tree | ca53c26f8290127f2199e387987c176402483a55 | |
parent | 97dc875f90a7b88a9fa476c256345c0d40fcdf6c [diff] |
Phonet: listening socket lock protects the connected socket list The accept()'d socket need to be unhashed while the (listen()'ing) socket lock is held. This fixes a race condition that could lead to an OOPS. Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>