From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Jones Subject: Re: [PATCH] net: Limit socket I/O iovec total length to INT_MAX. Date: Fri, 29 Oct 2010 11:51:35 -0700 Message-ID: <4CCB17B7.1010908@hp.com> References: <20101028.112231.232747062.davem@davemloft.net> <1288360820.2092.34.camel@dan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Dan Rosenberg , David Miller , netdev@vger.kernel.org, jon.maloy@ericsson.com, allan.stephens@windriver.com, Al Viro To: Linus Torvalds Return-path: Received: from g4t0016.houston.hp.com ([15.201.24.19]:22615 "EHLO g4t0016.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751809Ab0J2Svj (ORCPT ); Fri, 29 Oct 2010 14:51:39 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: It may be but a paint splatter on the bikeshed, or considered a case of "Doctor! Doctor! It hurts when I do this" "Then don't do that!" but elsewhere (not in the context of Linux) I've seen mention made of ISV software posting some particularly large receives and such - one case I saw was over 1GB, where that was tied to the size of a log buffer the creation of which I believe was not limited to ~INT_MAX by the application software. rick jones