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/