Re: Honoring SO_RCVLOWAT in proto_ops.poll methods
From: David Miller
Date: Mon Oct 13 2008 - 06:13:10 EST
From: swivel@xxxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 13 Oct 2008 03:32:14 -0500
> I'm using the pseudo-blocking recv() behavior achieved with SO_RCVTIMEO.
> Thus my app expects recv() to block until SO_RCVLOWAT is met or SO_RCVTIMEO
> expired.
But if you poll() properly, you'll never call recv() unless the amount
of bytes you want are there.
And since I fixed poll()'s handling of SO_RCVLOWAT it should mostly
work.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/