← Back to team overview

desktop-packages team mailing list archive

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


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Which Ubuntu releases and libnl3 package versions are affected, please?
Which upstream release first included these patches? And please could
you provide your failure use cases so that we can decide on importance
and the trade-offs in maintenance, regression risk, etc, in deciding
whether to cherry-pick these fixes over waiting to update to a new
upstream release in a future Ubuntu release?

Once you have answered these questions, please change the bug status
back to New. Thanks!

** Changed in: libnl3 (Ubuntu)
       Status: New => Incomplete

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libnl3 in Ubuntu.

  libnl: fail to bind() netlink sockets

Status in libnl3 package in Ubuntu:

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

  1f734a8f892a lib/socket: randomize the generated local port

  4dd5fdd0af2c lib/socket: retry generate local port in nl_connect on ADDRINUSE

  027157898708 lib/socket: don't fail if no more local ports can be assigned in nl_socket_alloc

  0fd510b3673f lib/socket: use proper typed constant UINT32_MAX for uint32_t typed port

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

To manage notifications about this bug go to: