aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.h
diff options
context:
space:
mode:
authorAllan Stephens <[email protected]>2010-04-20 21:58:24 +0000
committerPaul Gortmaker <[email protected]>2011-05-10 20:03:56 +0000
commitc29c3f70c9eb6f18090da5af9dbe9dcb4adece8c (patch)
tree28521412e2c927952bd4fea9dbae49db55b12f16 /net/tipc/node.h
parenttipc: Strengthen checks for neighboring node discovery (diff)
downloadkernel-c29c3f70c9eb6f18090da5af9dbe9dcb4adece8c.tar.gz
kernel-c29c3f70c9eb6f18090da5af9dbe9dcb4adece8c.zip
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 <[email protected]> Signed-off-by: Paul Gortmaker <[email protected]>
Diffstat (limited to 'net/tipc/node.h')
0 files changed, 0 insertions, 0 deletions