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
| ||
|
Date: Sat, 30 Apr 2011 10:34:44 -0700 From: Stephen Hemminger <shemminger@...tta.com> To: Jiri Pirko <jpirko@...hat.com> Cc: netdev@...r.kernel.org, davem@...emloft.net, eric.dumazet@...il.com, mirqus@...il.com, xemul@...nvz.org Subject: Re: [patch net-next-2.6] net: call dev_alloc_name from register_netdevice On Sat, 30 Apr 2011 13:21:32 +0200 Jiri Pirko <jpirko@...hat.com> wrote: > Force dev_alloc_name() to be called from register_netdevice() by > dev_get_valid_name(). That allows to remove multiple explicit > dev_alloc_name() calls. > > The possibility to call dev_alloc_name in advance remains. > > This also fixes veth creation regresion caused by > 84c49d8c3e4abefb0a41a77b25aa37ebe8d6b743 > > Signed-off-by: Jiri Pirko <jpirko@...hat.com> The problem with this then you have to audit all the calls to register_netdevice to make sure that user can't provide a bad value which then is passed a format string. Why not just fix just veth which would be safer. -- 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