[Bug 1511735] [NEW] libnl: fail to bind() netlink sockets

Launchpad Bug Tracker 1511735 at bugs.launchpad.net
Mon Dec 14 17:15:31 UTC 2015


You have been subscribed to a public bug by Robie Basak (racb):

The following upstream patches are needed in order to avoid failures
when binding a netlink socket:

1f734a8f892a lib/socket: randomize the generated local port
http://git.infradead.org/users/tgr/libnl.git/commitdiff/1f734a8f892a

4dd5fdd0af2c lib/socket: retry generate local port in nl_connect on ADDRINUSE
http://git.infradead.org/users/tgr/libnl.git/commitdiff/4dd5fdd0af2c

027157898708 lib/socket: don't fail if no more local ports can be assigned in nl_socket_alloc
http://git.infradead.org/users/tgr/libnl.git/commitdiff/027157898708

0fd510b3673f lib/socket: use proper typed constant UINT32_MAX for uint32_t typed port
http://git.infradead.org/users/tgr/libnl.git/commitdiff/0fd510b3673f

Without these patches, an application which opens and closes regularly
netlink sockets can easily fails to bind them.

** Affects: libnl3 (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: libnl3 (Ubuntu Trusty)
     Importance: Undecided
     Assignee: Ryan Harper (raharper)
         Status: New


** Tags: 6wind
-- 
libnl: fail to bind() netlink sockets
https://bugs.launchpad.net/bugs/1511735
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.



More information about the Ubuntu-server-bugs mailing list