Bug 1097176

Summary: Backport upstream fix for trying other ports when a local port is in use
Product: [Fedora] Fedora Reporter: Antoni Segura Puimedon <asegurap>
Component: libnl3Assignee: Thomas Haller <thaller>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: asegurap, bazulay, danken, davids, dcbw, jiri, tgraf, thaller
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libnl3-3.2.24-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1097175 Environment:
Last Closed: 2014-06-10 03:04:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1097175    
Bug Blocks:    

Description Antoni Segura Puimedon 2014-05-13 10:13:49 UTC
+++ This bug was initially created as a clone of Bug #1097175 +++

Description of problem:
It is possible that another library of the same process opens a port and that when libnl-3 will try to connect it will get EADDRINUSE. It is sensible to mark that port as used and to try other ports of the process space.

To this effect, thaller made the upstream commit:
https://github.com/thom311/libnl/commit/e21099908f6e22d869b2b8eeb1ffbcc2eff209e4

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Use libnl-1 to open a netlink route connection
2. Use libnl-3 to open another netlink route connection

Actual results:
2 will get EADDRINUSE and fail

Expected results:
2 will mark the port as used and retry.

Additional info:

Comment 1 Fedora Update System 2014-05-22 09:14:25 UTC
libnl3-3.2.24-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libnl3-3.2.24-3.fc20

Comment 2 Fedora Update System 2014-05-23 18:57:22 UTC
Package libnl3-3.2.24-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libnl3-3.2.24-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6617/libnl3-3.2.24-3.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-06-10 03:04:52 UTC
libnl3-3.2.24-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.