tcp: tcp_prequeue() can use keyed wakeups
commit7aedec2ad5314b173e78ca3f4edb4ceaa02248bb
authorEric Dumazet <dada1@cosmosbay.com>
Thu, 7 May 2009 07:20:39 +0000 (7 07:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2009 21:52:28 +0000 (7 14:52 -0700)
tree9b9ed7561bf13bcaa11f1f6ac7b4da2c444b0044
parentf5f8d86b231e0489c33542c42afbb14d32411ee8
tcp: tcp_prequeue() can use keyed wakeups

We can avoid waking up tasks not interested in receive notifications,
using wake_up_interruptible_poll() instead of wake_up_interruptible()

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h