[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <OFAFD6A29A.64702BD9-ON88257371.0080B2DD-88257371.00819926@us.ibm.com>
Date: Thu, 11 Oct 2007 16:36:34 -0700
From: David Stevens <dlstevens@...ibm.com>
To: sdake@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: bytes received from recvmsg doesn't match FIONREAD
Questions of this sort should normally be directed to linux-net mailing
list.
>From the code you quoted, I see at least one case where it
will fail -- when the allocated buffer you pass to recvmsg is smaller than
"value" (ie. the datagram is too big for the read buffer).
If that's not the problem, I suggest you reproduce it with a small test
case and post real code and results when it happens.
+-DLS
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists