nl_connect EADDRINUSE error after child is forked
Thomas Haller
thaller at redhat.com
Thu Jul 31 17:38:20 PDT 2014
On Thu, 2014-07-31 at 16:32 -0700, Andrew wrote:
> [Re-send, hopefully with legible formatting]
it's slightly better ;-)
> 2) Implement a "best effort" auto-bind in libnl.
> Basically, instead of giving up when socket() returns EADDRINUSE on the first available
> port, try each port marked in the pool as available until the socket() call succeeds or
> an error other than EADDRINUSE is returned.
Yes, this was done upstream, see
https://github.com/thom311/libnl/commit/4dd5fdd0af2c0b7ffe1dbc49313f263dbb2e906f .
Try to upgrade to version 3.2.25, or backport this commit.
Possibly you want to backport all 4 commits that were merged with
https://github.com/thom311/libnl/commit/e21099908f6e22d869b2b8eeb1ffbcc2eff209e4 .
Does that solve your issue?
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20140801/677c0f14/attachment.sig>
More information about the libnl
mailing list