diff options
author | Thomas Haller <thaller@redhat.com> | 2015-03-05 09:50:04 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-03-05 10:26:22 (GMT) |
commit | 9614acf4c4354892b5b734cace4778acfc019999 (patch) | |
tree | a5f951654c089a097be94c9ae5f91ed0d6b03eac /libnl-3.sym | |
parent | 15824e42730980132a9e52d0c9d6929808e5ae78 (diff) | |
download | libnl-9614acf4c4354892b5b734cace4778acfc019999.zip libnl-9614acf4c4354892b5b734cace4778acfc019999.tar.gz libnl-9614acf4c4354892b5b734cace4778acfc019999.tar.bz2 |
lib/nl: preserve s_local if nl_connect() fails
s_local.nl_pid is used to track the generated port unless NL_OWN_PORT is set.
Ensure that getsockname() doesn't overwrite the value and possibly reset
the local port manually to release the generated port.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'libnl-3.sym')
0 files changed, 0 insertions, 0 deletions