Limit of 16 tap devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 }

-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux