Bill Fenner
610a2e9ca5
Don't allow the window to be increased beyond what is possible to
...
represent in the TCP header. The old code did effectively:
win = min(win, MAX_ALLOWED);
win = max(win, what_i_think_i_advertised_last_time);
so if what_i_think_i_advertised_last_time is bigger than can be
represented in the header (e.g. large buffers and no window scaling)
then we stuff a too-big number into a short. This fix reverses the
order of the comparisons.
PR: kern/4712
1997-10-07 21:10:06 +00:00
..
1997-09-06 11:11:43 +00:00
1997-05-25 15:50:46 +00:00
1997-09-07 05:27:26 +00:00
1997-08-02 14:33:27 +00:00
1997-05-09 07:48:14 +00:00
1997-05-14 16:39:52 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-09-07 05:27:26 +00:00
1997-09-16 11:44:05 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-06-18 01:24:28 +00:00
1997-06-18 01:24:28 +00:00
1997-08-16 19:16:27 +00:00
1997-08-16 19:16:27 +00:00
1997-09-16 18:36:06 +00:00
1997-08-02 14:33:27 +00:00
1997-02-22 09:48:43 +00:00
1997-09-07 05:27:26 +00:00
1997-08-02 14:33:27 +00:00
1997-09-25 00:34:35 +00:00
1997-05-25 15:50:46 +00:00
1997-09-14 03:10:42 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-09-10 03:07:14 +00:00
1997-09-16 11:44:05 +00:00
1997-08-25 16:29:27 +00:00
1997-02-22 09:48:43 +00:00
1997-09-25 00:34:35 +00:00
1997-09-21 22:02:25 +00:00
1997-02-22 09:48:43 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-08-02 14:33:27 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-09-07 05:27:26 +00:00
1997-02-22 09:48:43 +00:00
1997-05-25 15:50:46 +00:00
1997-05-25 15:50:46 +00:00
1997-09-14 03:10:42 +00:00
1997-09-16 18:36:06 +00:00
1997-02-22 09:48:43 +00:00
1997-08-16 19:16:27 +00:00
1997-10-02 02:10:40 +00:00
1997-10-07 21:10:06 +00:00
1997-10-02 02:10:40 +00:00
1997-02-22 09:48:43 +00:00
1997-09-16 18:36:06 +00:00
1997-09-16 18:36:06 +00:00
1997-09-07 05:27:26 +00:00
1997-09-16 18:36:06 +00:00
1997-09-16 18:36:06 +00:00
1997-04-27 20:01:29 +00:00
1997-02-22 09:48:43 +00:00
1997-02-22 09:48:43 +00:00
1997-09-14 03:10:42 +00:00
1997-09-07 05:27:26 +00:00
1997-02-22 09:48:43 +00:00