[lkml]   [2004]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: UDP recvmsg blocks after select(), 2.6 bug?
    From: "Alan Cox" <>
    Sent: Wednesday, October 06, 2004 20:23
    > On Mer, 2004-10-06 at 20:30, Andries Brouwer wrote:
    > > A descriptor shall be considered ready for reading when a
    > > call to an input function with O_NONBLOCK clear would not
    > > block, whether or not the function would transfer data
    > > successfully. (The function might return data, an end-of-
    > > file indication, or an error other than one indicating
    > > that it is blocked, and in each of these cases the
    > > descriptor shall be considered ready for reading.)
    > >
    > > As far as I can interpret these sentences, Linux does not conform.
    > Nor does anything else in that case. I guess we need a POSIX_ME_HARDER
    > socket option.

    The default should be a POSIX compliant socket IMHO; a POSIX_ME_NOT
    option could provide better performance.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:06    [W:0.019 / U:89.012 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site