Anton Blanchard
98382f419f
net: Cap number of elements for sendmmsg
...
To limit the amount of time we can spend in sendmmsg, cap the
number of elements to UIO_MAXIOV (currently 1024).
For error handling an application using sendmmsg needs to retry at
the first unsent message, so capping is simpler and requires less
application logic than returning EINVAL.
Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: stable <stable@kernel.org> [3.0+]
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-08-05 03:31:03 -07:00
..
2011-07-23 09:32:52 -05:00
2011-05-23 16:29:24 -04:00
2011-07-27 22:39:30 -07:00
2011-07-01 16:11:15 -07:00
2011-08-01 17:56:14 -07:00
2011-04-17 00:48:31 -07:00
2011-07-12 12:28:58 -07:00
2011-07-27 22:39:30 -07:00
2011-07-26 16:49:47 -07:00
2011-06-21 16:03:17 -07:00
2011-06-17 00:03:03 -04:00
2011-07-26 13:38:50 -07:00
2011-08-01 18:03:06 -07:00
2011-07-08 09:01:14 -07:00
2011-07-04 12:37:49 -06:00
2011-07-26 16:49:47 -07:00
2011-03-17 11:59:32 +11:00
2011-06-29 05:53:49 -07:00
2011-07-03 20:05:16 -07:00
2011-07-27 22:39:30 -07:00
2011-06-30 16:18:09 +04:00
2011-08-03 03:34:12 -07:00
2011-08-03 03:34:12 -07:00
2011-03-21 18:16:39 -07:00
2011-06-20 22:29:08 -07:00
2011-07-26 16:49:47 -07:00
2011-06-16 23:19:27 -04:00
2011-07-28 05:58:19 -07:00
2011-07-01 16:11:16 -07:00
2011-04-11 18:59:05 -07:00
2011-07-27 22:39:30 -07:00
2011-07-28 18:38:53 -07:00
2011-08-01 17:58:33 -07:00
2011-06-24 15:25:51 -04:00
2011-07-01 16:11:16 -07:00
2011-07-05 15:26:58 -04:00
2011-07-14 08:36:33 -07:00
2011-06-09 20:38:07 -07:00
2011-07-25 20:57:14 -07:00
2011-05-19 13:53:54 -04:00
2011-07-07 02:41:59 -07:00
2011-05-19 18:51:50 -04:00
2011-08-01 02:27:21 -07:00
2011-07-21 13:38:42 -07:00
2011-07-28 18:20:21 -07:00
2011-07-26 16:49:47 -07:00
2011-07-20 01:44:05 -04:00
2011-03-31 11:26:23 -03:00
2010-05-20 21:04:44 -07:00
2011-08-01 13:46:46 -04:00
2011-07-01 16:11:16 -07:00
2011-07-28 18:10:48 -07:00
2011-05-05 11:10:14 -07:00
2011-07-05 15:26:57 -04:00
2011-07-05 15:26:57 -04:00
2010-10-15 15:53:27 +02:00
2011-08-05 03:31:03 -07:00
2010-05-17 23:23:14 -07:00