Messages in this thread | | | Date | Mon, 29 Oct 2001 17:53:12 -0800 (PST) | Subject | Re: 2.4.13-ac5 && vtun not working | From | "David S. Miller" <> |
| |
From: Maksim Krasnyanskiy <maxk@qualcomm.com> Date: Mon, 29 Oct 2001 17:48:35 -0800
>On Tue, Oct 30, 2001 at 02:17:40AM +0100, " Marc A. Lehmann " <pcg@goof.com> wrote: >> a _lot_ of searching revealed this code fragment: > >In my usual attempt to generate more traffic, I forgot to mention that I >found it in net/core/dev.c ;) > >(oh, and after reading the comments int hat file, I think that maybe tun.c >simply shouldn't call dev_alloc_name...)
Hmm, let me check that. I was under the assumption that it's dev.c bug :)
Basically, don't pass a string lack one "%d" into dev_alloc_name because dev_alloc_name() runs sprintf on that string with an integer argument.
Franks a lot, David S. Miller davem@redhat.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |