diff options
author | Julian Elischer <julian@FreeBSD.org> | 1996-08-19 19:22:26 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 1996-08-19 19:22:26 +0000 |
commit | 313861b8968fefb2c14c31415f2fc3d75887d3fa (patch) | |
tree | 636c59428deeb462e9a07634efc1bf8d11fefd37 /sys/kern/uipc_socket2.c | |
parent | 072a289aa4634730cfc1ce22becb76013e58ec94 (diff) | |
download | src-313861b8968fefb2c14c31415f2fc3d75887d3fa.tar.gz src-313861b8968fefb2c14c31415f2fc3d75887d3fa.zip |
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)
Notes
Notes:
svn path=/head/; revision=17675
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r-- | sys/kern/uipc_socket2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index a178e029841d..1a79d870e69c 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"); |