* [PATCH] tun -- name fix
[not found] <20040313164325.070524df.akpm@osdl.org>
@ 2004-03-15 18:22 ` Stephen Hemminger
2004-03-15 20:40 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2004-03-15 18:22 UTC (permalink / raw)
To: Andrew Morton, David S. Miller
Cc: Gerd Knorr, rutger, netdev, Maxim Krasnyansky, vtun
This fixes both the devfs name and the /sys name issues.
It ends up as /dev/net/tun and /sys/class/misc/tun looks correct.
diff -Nru a/drivers/net/tun.c b/drivers/net/tun.c
--- a/drivers/net/tun.c Mon Mar 15 10:01:52 2004
+++ b/drivers/net/tun.c Mon Mar 15 10:01:52 2004
@@ -602,8 +602,9 @@
static struct miscdevice tun_miscdev = {
.minor = TUN_MINOR,
- .name = "net/tun",
- .fops = &tun_fops
+ .name = "tun",
+ .fops = &tun_fops,
+ .devfs_name = "net/tun",
};
int __init tun_init(void)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tun -- name fix
2004-03-15 18:22 ` [PATCH] tun -- name fix Stephen Hemminger
@ 2004-03-15 20:40 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-03-15 20:40 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: akpm, kraxel, rutger, netdev, maxk, vtun
On Mon, 15 Mar 2004 10:22:15 -0800
Stephen Hemminger <shemminger@osdl.org> wrote:
> This fixes both the devfs name and the /sys name issues.
> It ends up as /dev/net/tun and /sys/class/misc/tun looks correct.
Applied, thanks Stephen.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-15 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20040313164325.070524df.akpm@osdl.org>
2004-03-15 18:22 ` [PATCH] tun -- name fix Stephen Hemminger
2004-03-15 20:40 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).