Konstantin Belousov
1c89fc757a
If socket buffer space appears to be lower then sum of count of already
...
prepared bytes and next portion of transfer, inner loop of kern_sendfile()
aborts, not preparing next mbuf for socket buffer, and not modifying
any outer loop invariants. The thread loops in the outer loop forever.
Instead of breaking from inner loop, prepare only bytes that fit into
the socket buffer space.
In collaboration with: pho
Reviewed by: bz
PR: kern/138999
MFC after: 2 weeks
2009-11-03 12:52:35 +00:00
..
2009-10-28 20:17:54 +00:00
2009-10-31 13:24:14 +00:00
2009-10-28 10:06:27 +00:00
2009-09-29 21:25:59 +00:00
2009-11-03 11:19:05 +00:00
2009-10-30 23:33:06 +00:00
2009-11-02 19:13:12 +00:00
2009-10-31 22:27:31 +00:00
2009-10-23 22:04:18 +00:00
2009-10-01 19:12:14 +00:00
2009-11-03 12:03:13 +00:00
2009-10-26 18:02:05 +00:00
2009-10-14 19:24:01 +00:00
2009-10-31 10:38:30 +00:00
2009-10-31 22:27:31 +00:00
2009-08-24 21:51:46 +00:00
2009-11-03 12:52:35 +00:00
2009-10-27 10:47:58 +00:00
2009-10-24 09:55:11 +00:00
2009-10-23 17:26:29 +00:00
2009-10-29 12:19:10 +00:00
2009-08-12 10:44:13 +00:00
2009-10-24 18:49:17 +00:00
2009-11-03 08:41:14 +00:00
2009-10-23 18:27:34 +00:00
2009-10-01 15:33:53 +00:00
2009-09-10 18:33:08 +00:00
2009-10-16 19:30:48 +00:00
2009-09-26 18:23:16 +00:00
2009-10-07 19:50:14 +00:00
2009-09-04 09:48:18 +00:00
2009-10-27 10:47:58 +00:00
2009-09-19 08:56:28 +00:00
2009-10-31 20:59:13 +00:00
2009-09-28 18:55:29 +00:00
2009-09-08 13:24:36 +00:00
2009-10-27 10:47:58 +00:00
2009-10-27 10:47:58 +00:00
2009-10-31 10:35:41 +00:00
2009-10-08 10:26:49 +00:00
2009-10-25 09:48:21 +00:00
2009-09-22 16:22:05 +00:00
2009-11-02 17:45:39 +00:00
2009-08-12 16:27:51 +00:00
2009-08-20 19:17:53 +00:00