Skip to contentSkip to conversation

NETWORKING : Edge Triggered EPOLLOUT events get missed for TCP sockets

PATCH David Miller 1 participant 1 message Sep 19, 2007 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

David Miller

author maintainer
#1 lore raw

From: Nagendra Tomar <[email protected]>
Date: Wed, 19 Sep 2007 04:13:24 -0700 (PDT)

Quoted 4 lines

With the SOCK_NOSPACE check in tcp_check_space(), this epoll_wait call will not return, even when the incoming acks free the buffers.
Note that this patch assumes that the SOCK_NOSPACE check in
tcp_check_space is a trivial optimization which can be safely removed.

I think the more correct fix is to fix whoever isn't setting the SOCK_NOSPACE bit, that check really is crucial.