]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: tcp_prequeue() can use keyed wakeups
authorJohn Dykstra <john.dykstra1@gmail.com>
Tue, 12 May 2009 15:34:50 +0000 (15:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 03:44:43 +0000 (20:44 -0700)
commite76589f7a04c2eee33d62b24937fab06b0e4e2a0
tree07703de691fc0b6d50b4dc5d206e8f841714b7e1
parentef79c9628e2fb8c26651cad20a13a1e48e239aab
tcp: tcp_prequeue() can use keyed wakeups

When TCP frees up write buffer space, avoid waking up tasks that have
done a poll() or select() on the same socket specifying read-side
events.

This is an extension of a read-side patch by Eric Dumazet.

Signed-off-by: John Dykstra <john.dykstra1@gmail.com>
Acked-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/stream.c