tun -- name fix
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 tun -- name fix
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.
drivers/net/tun.c +3 -2
@@ -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 )
David S. Miller
AppliedQuoted 2 lines · On Mon, 15 Mar 2004 10:22:15 -0800 Stephen Hemminger <[email protected]>…
This fixes both the devfs name and the /sys name issues. It ends up as
/dev/net/tunand/sys/class/misc/tunlooks correct.
Applied, thanks Stephen.