Date: Fri, 06 Feb 2015 07:36:41 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Anuranjan Shukla <anshukla@juniper.net> Cc: Simon Gerraty <sjg@juniper.net>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: Buggy sbspace() on 64bit builds? Message-ID: <37282.1423208201@critter.freebsd.dk> In-Reply-To: <D0F95E21.2489D%anshukla@juniper.net> References: <D0F95E21.2489D%anshukla@juniper.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-------- In message <D0F95E21.2489D%anshukla@juniper.net>, Anuranjan Shukla writes: >Hi, >The way sbspace() is done today, it stores the result of subtraction of >socket buffer variables (u_int) in longs, and returns a long. [...] >Any thoughts on what a fix should be for this? size_t or intptr_t ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37282.1423208201>