Retrieving information about configured neighbors fail
my application is running the following procedure:
neigh = NULL;
cache = rtnl_neigh_alloc_cache(sk);
while(NULL == neigh){
nl_cache_refill(sk, chache);
neigh = rtnl_neigh_get(cache, ifindex, dst_addr);
}
with libnl3 3.2.21-1 this loop will never end, even when adding a static arp entry.
However, with libnl-3.2.24 the neighbor lookup succeed.
additional general info:
$ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
$ uname -r
3.13.0-24-generic
$ apt-cache policy libnl-genl-3-200 libnl-route-3-200
libnl-genl-3-200:
Installed: 3.2.21-1
Candidate: 3.2.21-1
Version table:
*** 3.2.21-1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
libnl-route-3-200:
Installed: 3.2.21-1
Candidate: 3.2.21-1
Version table:
*** 3.2.21-1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
Can you please attach the test case(s) you are using to recreate this bug?