Re: [net-next PATCH v5 3/3] net: reserve ports for applications usingfixed port numbers

From: Cong Wang
Date: Sat Feb 20 2010 - 20:57:12 EST


Octavian Purdila wrote:
On Saturday 20 February 2010 10:20:53 you wrote:

+unsigned long *sysctl_local_reserved_ports;
+EXPORT_SYMBOL(sysctl_local_reserved_ports);
+
Sorry, this looks somewhat weird, why not just export
inet_is_reserved_local_port()?


My understanding is that if we do that than we won't be able to inline inet_is_reserved_local_port(). And as David said previously that will have a significant impact on performance.

Oh, that would be true probably, so just leave as it is.

Thanks.

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