Gao Feng
1935299d9c
net: tcp: Refine the __tcp_select_window
...
1. Move the "window = tp->rcv_wnd;" into the condition block without
tp->rx_opt.rcv_wscale.
Because it is unnecessary when enable wscale;
2. Use the macro ALIGN instead of two statements.
The two statements are used to make window align to 1<<wscale.
Use the ALIGN is more clearer.
3. Use the rounddown to make codes clearer.
Signed-off-by: Gao Feng <fgao@ikuai8.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-03-30 15:41:32 -07:00
..
2017-03-23 16:41:27 -07:00
2017-03-24 13:17:07 -07:00
2017-03-22 10:48:49 -07:00
2017-02-04 19:44:22 -05:00
2017-03-28 22:32:42 -07:00
2017-02-15 11:04:11 +01:00
2017-03-22 14:15:49 -07:00
2017-03-10 09:45:09 -08:00
2017-03-16 10:18:34 -07:00
2017-03-21 15:27:19 -07:00
2017-03-10 09:45:09 -08:00
2017-03-21 15:27:19 -07:00
2017-02-09 16:43:45 -05:00
2017-03-09 18:23:27 -08:00
2017-03-22 15:40:45 -07:00
2017-03-24 13:17:07 -07:00
2017-03-09 18:28:42 -08:00
2017-02-21 12:23:53 -05:00
2017-01-30 15:14:22 -05:00
2017-03-28 22:46:04 -07:00
2017-03-28 22:32:42 -07:00
2017-02-16 21:25:49 -05:00
2017-03-10 09:45:09 -08:00
2017-02-28 12:49:36 +01:00
2017-02-11 02:31:11 -05:00
2017-03-16 20:33:56 -07:00
2017-03-24 13:17:07 -07:00
2017-02-07 13:07:47 -05:00
2017-03-21 15:27:19 -07:00
2017-03-24 13:17:07 -07:00
2017-03-02 08:42:27 +01:00
2017-01-28 10:33:06 -05:00
2017-03-23 16:41:27 -07:00
2017-03-24 20:49:30 -07:00
2017-03-16 20:33:56 -07:00
2017-03-24 20:49:30 -07:00
2017-03-30 15:41:32 -07:00
2017-02-21 13:26:03 -05:00
2017-03-07 13:58:33 -08:00
2017-03-16 20:23:28 -07:00
2017-03-23 16:41:27 -07:00
2017-02-07 16:29:30 -05:00
2017-02-15 11:04:11 +01:00
2017-02-15 11:04:11 +01:00
2017-02-09 10:22:19 +01:00
2017-02-09 10:22:17 +01:00