[Bug 1511735] Re: libnl: fail to bind() netlink sockets
Nicolas Dichtel
nicolas.dichtel at 6wind.com
Tue Dec 15 13:46:05 UTC 2015
The enclosed tar file contains the updated test script and the 4 patches
that can be applied cleanly over the ubuntu libnl3-3.2.21.
Before the patches:
$ if ./example.sh ; then echo success ; else echo failure ; fi
gcc -o example -I/usr/include/libnl3 example.c -lnl-3 -lnl-genl-3
set manually the local port to 15754 (pid: 15753)
local port has been set by the libnl to 15754 (pid: 15754)
genl_connect(): Object exists (local port: 15754, pid: 15754)
failure
After the patches:
$ if ./example.sh ; then echo success ; else echo failure ; fi
gcc -o example -I/usr/include/libnl3 example.c -lnl-3 -lnl-genl-3
set manually the local port to 15768 (pid: 15767)
local port has been set by the libnl to 432029080 (pid: 15768)
success
** Attachment added: "20151115_test_and_patches.tar"
https://bugs.launchpad.net/ubuntu/+source/libnl3/+bug/1511735/+attachment/4535092/+files/20151115_test_and_patches.tar
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1511735
Title:
libnl: fail to bind() netlink sockets
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnl3/+bug/1511735/+subscriptions
More information about the Ubuntu-server-bugs
mailing list