Limit of 16 tap devices

From: Andy Nguyen
Date: Mon Aug 08 2005 - 21:40:48 EST


Hi all,

There is currently a limit of 16 tap devices created in netlink_dev.c.
Is there some reason for this, can I just increase the number to say 256?

Regards
Andy


250 for (i = 0; i < 16; i++) {
251 devfs_mk_cdev(MKDEV(NETLINK_MAJOR, i + 16),
252 S_IFCHR|S_IRUSR|S_IWUSR, "netlink/tap%d", i);
253 class_simple_device_add(netlink_class, MKDEV
(NETLINK_MAJOR, i + 16), NULL, "tap%d", i);
254 }
255
256 return 0;
257 }

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html