The thing is, I rely on 'ip' a lot. So, not wanting to have to rely on
code I knew was buggy, and how it was buggy, I apt-get sourced it, fixed
it, and installed it on all my machines. I have now no machines with
that particular bug left. My hunch is that when using network namespaces
with large(r)
By the way, the bug was fixed already:
http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=a1b4a274d4917be06b3060d3c8e95aba5c92a9a9
So by upgrading to ip version 4.5 this should be fixed.
--
You received this bug notification because you are a member of Ubuntu
Touch s
Well, either that or you change struct nsid_cache (line 138) to
struct nsid_cache {
struct hlist_node nsid_hash;
struct hlist_node name_hash;
int nsid;
charname[1];
};
I think that that would do the same.
--
You
Please reopen as I've found the cause of the bug and posted it to the
forum.
2016-10-26 6:17 GMT+02:00 Launchpad Bug Tracker <1615...@bugs.launchpad.net>
:
> [Expired for iproute2 (Ubuntu) because there has been no activity for 60
> days.]
>
> ** Changed in: iproute2 (Ubuntu)
>Status: Inc
I found the bug: in the package iproute2 version 2-4.3, in the file
ip/ipnetns.c, line 175 must read:
c = malloc(sizeof(*c) + strlen(name) + 1);
instead of:
c = malloc(sizeof(*c) + strlen(name));
** Changed in: iproute2 (Ubuntu)
Status: Expired => In Progress
--
You received this bug n
I have no idea if or whether the 16.10 and 16.04 versions are somehow
the same. I'll see if I can write a script to reproduce the bug (which I
forgot to post: this causes a segfault).
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscrib
# cat /etc/issue
Ubuntu 16.04.1 LTS \n \l
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to iproute2 in Ubuntu.
https://bugs.launchpad.net/bugs/1615209
Title:
ip crashes after a few times adding and removing network namespace
Public bug reported:
# which ip
/sbin/ip
# valgrind ip netns add black2
==22804== Memcheck, a memory error detector
==22804== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==22804== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==22804== Command: ip netns add
# uname -a
Linux charcoal 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:28 UTC 2016
i686 i686 i686 GNU/Linux
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to iproute2 in Ubuntu.
https://bugs.launchpad.net/bugs/1615209
Titl
# ip -V
ip utility, iproute2-ss151103
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to iproute2 in Ubuntu.
https://bugs.launchpad.net/bugs/1615209
Title:
ip crashes after a few times adding and removing network namespaces
S
10 matches
Mail list logo