Re: [PATCH 4/5] Workaround of recvfrom() EAGAIN bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Warasin wrote:

> This is a workaround which prevents ulogd from logging each
> time when recvfrom() returns error because of EAGAIN.
> Since the netlink socket is now O_NONBLOCK, we probably run
> into the following bug:
> ...

This is not a workaround, but correct handling of EAGAIN on
a non-blocking socket. This happens because we loop until
there is no more data in the receive-queue.

Applied, thanks.
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux