summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket2.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-08-19 19:22:26 +0000
committerjulian <julian@FreeBSD.org>1996-08-19 19:22:26 +0000
commit52457c88af4b55e2d3987cc4fbb0fdf89b1d080d (patch)
tree636c59428deeb462e9a07634efc1bf8d11fefd37 /sys/kern/uipc_socket2.c
parent172fa553334216531fb11dc69e4bb176fd510943 (diff)
downloadFreeBSD-src-52457c88af4b55e2d3987cc4fbb0fdf89b1d080d.zip
FreeBSD-src-52457c88af4b55e2d3987cc4fbb0fdf89b1d080d.tar.gz
for kern_conf.c, start allocating dynamic major numbers
half way through the range rather than possibly colliding with fixed elements. Increase the size of the arrays to take this into account.. remember that each element in the array is now only 1 ponter so this isn't that much.. also note a possible bug in debugging code in uipc_socket2.c (add XXX)
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r--sys/kern/uipc_socket2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c
index a178e02..1a79d87 100644
--- a/sys/kern/uipc_socket2.c
+++ b/sys/kern/uipc_socket2.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93
- * $Id: uipc_socket2.c,v 1.10 1996/06/12 05:07:35 gpalmer Exp $
+ * $Id: uipc_socket2.c,v 1.12 1996/07/11 16:31:59 wollman Exp $
*/
#include <sys/param.h>
@@ -446,7 +446,7 @@ sbcheck(sb)
for (m = sb->sb_mb; m; m = m->m_next) {
len += m->m_len;
mbcnt += MSIZE;
- if (m->m_flags & M_EXT)
+ if (m->m_flags & M_EXT) /*XXX*/ /* pretty sure this is bogus */
mbcnt += m->m_ext.ext_size;
if (m->m_nextpkt)
panic("sbcheck nextpkt");
OpenPOWER on IntegriCloud