]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: remove redundant checking for the number of iovecs in a send request
authorYing Xue <ying.xue@windriver.com>
Thu, 31 Jan 2013 20:51:47 +0000 (21:51 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 15 Feb 2013 22:03:32 +0000 (17:03 -0500)
commitd3393250a0786f733b543926d2b667c5d98a6c15
treebd50c70ebf1715be2947087cd8ca341b06bbdbce
parent6c327cc9936011d92f6efbaed24dc4b60360ffd4
tipc: remove redundant checking for the number of iovecs in a send request

As the number of iovecs in a send request is already limited within
UIO_MAXIOV(i.e. 1024) in __sys_sendmsg(), it's unnecessary to check it
again in TIPC stack.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/socket.c