]> err.no Git - linux-2.6/commit
[SCTP]: Fix sctp to not return erroneous POLLOUT events.
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 19 Dec 2005 22:24:40 +0000 (14:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Dec 2005 22:24:40 +0000 (14:24 -0800)
commit9bffc4ace1ed875667dbe5b29065d96bec558c62
tree8f6f3823c2656b89f15c5438dd711860502d64b8
parent399c180ac5f0cb66ef9479358e0b8b6bafcbeafe
[SCTP]: Fix sctp to not return erroneous POLLOUT events.

Make sctp_writeable() use sk_wmem_alloc rather than sk_wmem_queued to
determine the sndbuf space available. It also removes all the modifications
to sk_wmem_queued as it is not currently used in SCTP.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c