From: Allan Stephens Date: Tue, 20 Apr 2010 21:58:24 +0000 (-0400) Subject: tipc: Abort excessive send requests as early as possible X-Git-Tag: v3.0-rc1~377^2~111^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c29c3f70c9eb6f18090da5af9dbe9dcb4adece8c;p=pandora-kernel.git tipc: Abort excessive send requests as early as possible Adds checks to TIPC's socket send routines to promptly detect and abort attempts to send more than 66,000 bytes in a single TIPC message or more than 2**31-1 bytes in a single TIPC byte stream request. In addition, this ensures that the number of iovecs in a send request does not exceed the limits of a standard integer variable. Signed-off-by: Allan Stephens Signed-off-by: Paul Gortmaker --- Reading git-diff-tree failed