Hi, App act as client (1-1 Style SOCK_STREAM) App try to send 278 bytes of message. So you mean that, if socket has space for few bytes (say 1 or 2 bytes), lksctp will set POLLOUT event for fd, but since user application doesn;t know the underlying socket space available, it can write more than that but will fail with EAGAIN ? Best Regards, Deepak On Wed, Apr 12, 2017 at 12:44 AM, Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx> wrote: >> On 11. Apr 2017, at 21:08, Deepak Khandelwal <dazz.87@xxxxxxxxx> wrote: >> >> Hi, >> >> I am using 4.4.x kernel. >> >> in context of LKSCTP, what could be the possible reasons that poll or >> select on fd return false positive events, causing application do >> write on fd but failed with EAGAIN ? > I'm just guessing here... What if you can write something, but not > something big as you try... > So how big is the message you are trying so send? > > Best regards > Michael >> >> >> Best Regards, >> Deepak >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html