Re: [ANNOUNCE 0/7] Open-iSCSI/Linux-iSCSI-5 High-PerformanceInitiator

From: David S. Miller
Date: Sat Jul 30 2005 - 19:35:07 EST


From: Dmitry Yusupov <dmitry_yus@xxxxxxxxx>
Date: Sat, 30 Jul 2005 14:25:28 -0700

> It would be nice to set MAX_LINKS to 64 and close this issue for now,

James and Dmitry, increasing MAX_LINKS does't work, did you actually
try to open a netlink socket with a protocol number larger than 32?

It will not work. Don't you think I'd implement such a simple fix to
expand the protocol number space if it was that easy? :-)

You can't increase MAX_LINKS past 32 because this is also the value of
NPROTO. It is impossible to create a new socket with a protocol value
larger than NPROTO, and this value is exported into userspace as well.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/