Re: 2.4.13-ac5 && vtun not working

David S. Miller (davem@redhat.com)
Tue, 06 Nov 2001 15:32:31 -0800 (PST)


From: Maksim Krasnyanskiy <maxk@qualcomm.com>
Date: Wed, 31 Oct 2001 09:55:47 -0800

Here is the patch for TUN/TAP to remove that suboptimality :).
So we won't call dev_alloc_name if name is not a template.

This won't work. The whole purpose of calling dev_alloc_name
is to twofold:

1) Make sure the name string is unique

2) Copy that name into dev->name if it is unique

I'm going to change dev_alloc_name() to allow non-'%' names
instead, that is a better fix.

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/