svn commit: r192651 - head/sys/netinet
Bjoern A. Zeeb
bz at FreeBSD.org
Sat May 23 17:02:31 UTC 2009
Author: bz
Date: Sat May 23 17:02:30 2009
New Revision: 192651
URL: http://svn.freebsd.org/changeset/base/192651
Log:
For UDP with introducing the UDP control block, the uma zone had to
be named "udp_inpcb" to avoid a naming conflict with tcp[1].
For consistency rename the uma zone for TCP from "inpcb" to "tcp_inpcb".
Found by: rwatson [1]
Discussed with: rwatson
Modified:
head/sys/netinet/tcp_subr.c
Modified: head/sys/netinet/tcp_subr.c
==============================================================================
--- head/sys/netinet/tcp_subr.c Sat May 23 16:54:07 2009 (r192650)
+++ head/sys/netinet/tcp_subr.c Sat May 23 17:02:30 2009 (r192651)
@@ -373,7 +373,7 @@ tcp_init(void)
&V_tcbinfo.ipi_hashmask);
V_tcbinfo.ipi_porthashbase = hashinit(hashsize, M_PCB,
&V_tcbinfo.ipi_porthashmask);
- V_tcbinfo.ipi_zone = uma_zcreate("inpcb", sizeof(struct inpcb),
+ V_tcbinfo.ipi_zone = uma_zcreate("tcp_inpcb", sizeof(struct inpcb),
NULL, NULL, tcp_inpcb_init, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
uma_zone_set_max(V_tcbinfo.ipi_zone, maxsockets);
/*
More information about the svn-src-all
mailing list