On Tue, Jul 2, 2019 at 12:27 PM Ji Jianwen <jijian...@gmail.com> wrote: > > It seems this issue was introduced by commit below, I am able to run > the command successfully mentioned at previous mail without it. > > commit ba126dcad20e6d0e472586541d78bdd1ac4f1123 (HEAD) > Author: Mahesh Bandewar <mahe...@google.com> > Date: Thu Jun 6 16:44:26 2019 -0700 > > ip6tunnel: fix 'ip -6 {show|change} dev <name>' cmds >
>From what I can see, before this commit we have in p->name the tunnel iface name (in Jianwen example, ip6tnl1), while after this p->name contains the iface name specified after "dev". Probably the strlcpy() should be limited to the {show|change} cases? Regards, Andrea > On Tue, Jul 2, 2019 at 2:53 PM Ji Jianwen <jijian...@gmail.com> wrote: > > > > Hello there, > > > > I got error when creating ip6 tunnel device on a rhel-8.0.0 system. > > > > Here are the steps to reproduce the issue. > > # # uname -r > > 4.18.0-80.el8.x86_64 > > # dnf install -y libcap-devel bison flex git gcc > > # git clone git://git.kernel.org/pub/scm/network/iproute2/iproute2.git > > # cd iproute2 && git log --pretty=oneline --abbrev-commit > > d0272f54 (HEAD -> master, origin/master, origin/HEAD) devlink: fix > > libc and kernel headers collision > > ee09370a devlink: fix format string warning for 32bit targets > > 68c46872 ip address: do not set mngtmpaddr option for IPv4 addresses > > e4448b6c ip address: do not set home option for IPv4 addresses > > .... > > > > # ./configure && make && make install > > # ip -6 tunnel add ip6tnl1 mode ip6ip6 remote 2001:db8:ffff:100::2 > > local 2001:db8:ffff:100::1 hoplimit 1 tclass 0x0 dev eno1 ---> > > please replace eno1 with the network card name of your system > > add tunnel "ip6tnl0" failed: File exists > > > > Please help take a look. Thanks! > > > > Br, > > Jianwen