Date: Wed, 18 Aug 1999 08:38:15 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: "Mark J. Taylor" <mtaylor@cybernet.com>, Greg Lehey <grog@lemis.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>, current@FreeBSD.ORG Subject: Re: ccd bugs (was: Kernel hacker tasks seek interested hackers) Message-ID: <199908181538.IAA47607@apollo.backplane.com> References: <1717.934983012@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:
:> There is a long as a parameter to ccdbuffer that needs to be a u_long.
:> Otherwise, you'll get panics (can't remember where).
:> Basically, bcount needs to be a u_long in all cases.
:
:Que? Are you sure? That means you want to change struct buf, where
:b_bcount is declared as long, as well?
:
:Ciao,
:Sheldon.
Absolutely not. The maximum size of a struct buf is 64K or 128K or
something like that. b_bcount is fine the way it is. There could
be a problem with people *using* b_bcount in a complex expression and
not casting it higher, but there is no problem with the structural
field itself.
-Matt
Matthew Dillon
<dillon@backplane.com>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908181538.IAA47607>
