Re: more tcpdumpinfo for nfs3 problem: aix-server --- linux 2.4.15pre5 client

From: kuznet@ms2.inr.ac.ru
Date: Mon Nov 19 2001 - 13:49:05 EST


Hello!

> Alexey: Do you have any comments? Is it correct to check for
> sock_writeable() on a TCP socket?

No. sock_writable() is for datagram sockets, TCP never used or
satisfied this predicate, it used(s) more interesting one.

BTW applications need not use this anyway, we do not awake people
for no reasons. If a write failed with EAGAIN, wakeup will happen
only when there is some room for write. And it will not be awaken
again until the next write will fail. So, if you rejected wakeup
(due to wrong predicate), nobody will remind you again.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:21 EST