]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Fix race condition in sk_wait_event().
authorAlexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Sat, 18 Mar 2006 00:05:43 +0000 (16:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Mar 2006 00:05:43 +0000 (16:05 -0800)
commit645419f390138a0c3d178906a78b509e426900a8
tree31ebb3ef3c990ea64a1b93a1785d2abafe8534ec
parent52bc109a23a093a2e674532f5e0a22695f9119bc
[NET]: Fix race condition in sk_wait_event().

It is broken, the condition is checked out of socket lock. It is
wonderful the bug survived for so long time.

[ This fixes bugzilla #6233:
  race condition in tcp_sendmsg when connection became established ]

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h