| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-Id: <20111212.185113.1211685406728953774.davem@davemloft.net> Date: Mon, 12 Dec 2011 18:51:13 -0500 (EST) From: David Miller <davem@...emloft.net> To: artisdom@...il.com Cc: jpirko@...hat.com, jwboyer@...hat.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] ipip, sit: copy parms.name after register_netdevice From: Ted Feng <artisdom@...il.com> Date: Thu, 8 Dec 2011 18:46:21 +0800 > From: Ted Feng <artisdom@...il.com> > > Same fix as 731abb9cb2 for ipip and sit tunnel. > Commit 1c5cae815d removed an explicit call to dev_alloc_name in > ipip_tunnel_locate and ipip6_tunnel_locate, because register_netdevice > will now create a valid name, however the tunnel keeps a copy of the > name in the private parms structure. Fix this by copying the name back > after register_netdevice has successfully returned. > > This shows up if you do a simple tunnel add, followed by a tunnel show: > > $ sudo ip tunnel add mode ipip remote 10.2.20.211 > $ ip tunnel > tunl0: ip/ip remote any local any ttl inherit nopmtudisc > tunl%d: ip/ip remote 10.2.20.211 local any ttl inherit > $ sudo ip tunnel add mode sit remote 10.2.20.212 > $ ip tunnel > sit0: ipv6/ip remote any local any ttl 64 nopmtudisc 6rd-prefix 2002::/16 > sit%d: ioctl 89f8 failed: No such device > sit%d: ipv6/ip remote 10.2.20.212 local any ttl inherit > > Cc: stable@...r.kernel.org > Signed-off-by: Ted Feng <artisdom@...il.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists