On Mon, May 06, 2013 at 11:42:46AM +0100, Mark Wooding wrote:
> Now that wheezy's been released -- without the patch I submitted over a
> year ago -- I have to fix all of my machines again, so I've respun the
> patch, and here it is.  Not that I have a great deal of hope that
> submitting it here will actually cause anything to happen.

Hello

I (upstream developer) noticed your patch some time ago, but i thought
that the issue was already fixed in usptream between 1.3.6 and 1.3.7
(in commit 732a0a257d180a95a02587203555b8552b6128ac).

See following code in nl_parse_link() in sysdep/linux/netlink.c :

  ifi = if_find_by_index(i->ifi_index);
  if (!new)
    {
      ...
      if_delete(ifi);
    }
  else
    {
      if (ifi && strncmp(ifi->name, name, sizeof(ifi->name)-1))
        if_delete(ifi);

      // ^^^^ This should fix your case ^^^^

      strncpy(f.name, name, sizeof(f.name)-1);
      f.index = i->ifi_index;
      f.mtu = mtu;
      ...

      if_update(&f);
    }


I tested interface renaming in current upstream (1.3.10 prerelease) and
it worked OK. As BIRD in Wheezy is in version 1.3.7 (which should
contain fix from the commit mentioned above) i would expect it is OK too.

Do you experience the problem even with unpatched Wheezy package?

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to