← Back to team overview

desktop-packages team mailing list archive

[Bug 1312419] Re: nl_cache_refill; rtnl_neigh_get fail to find neighbors in cache

 

Kamal,

As we talked about, I'm making the following PPA available:

https://launchpad.net/~inaddy/+archive/ubuntu/lp1312419

It contains Trusty version + commit:

>From 3700cc1ad3a3b507848deb401b9d0f41ff7010bb Mon Sep 17 00:00:00 2001
From: Thomas Graf <tgraf@xxxxxxx>
Date: Fri, 1 Feb 2013 10:41:45 +0100
Subject: [PATCH] neigh: Remove check for AF_UNSPEC in rtnl_neigh_get()

Please test this PPA and provide feedback if it fixes the problem. I'll
suggest SRU as soon as I get confirmation.

Thank you

Best Regards

Rafael

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libnl3 in Ubuntu.
https://bugs.launchpad.net/bugs/1312419

Title:
  nl_cache_refill; rtnl_neigh_get fail to find neighbors in cache

Status in libnl3 package in Ubuntu:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnl3/+bug/1312419/+subscriptions