summaryrefslogtreecommitdiffstats
path: root/include/netlink-private/types.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-03-05 09:50:04 (GMT)
committerThomas Haller <thaller@redhat.com>2015-03-05 10:26:22 (GMT)
commit9614acf4c4354892b5b734cace4778acfc019999 (patch)
treea5f951654c089a097be94c9ae5f91ed0d6b03eac /include/netlink-private/types.h
parent15824e42730980132a9e52d0c9d6929808e5ae78 (diff)
downloadlibnl-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 'include/netlink-private/types.h')
0 files changed, 0 insertions, 0 deletions