diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2010-05-26 00:44:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-29 00:18:50 -0700 |
commit | 7dfde179c38056b91d51e60f3d50902387f27c84 (patch) | |
tree | ca53c26f8290127f2199e387987c176402483a55 /drivers/hwmon/hwmon.c | |
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>
Diffstat (limited to 'drivers/hwmon/hwmon.c')
0 files changed, 0 insertions, 0 deletions