mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
tcp: Namespace-ify sysctl_tcp_workaround_signed_windows
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d06a990458
commit
ceef9ab6be
7 changed files with 18 additions and 21 deletions
|
@ -247,7 +247,6 @@ extern int sysctl_tcp_max_orphans;
|
|||
extern long sysctl_tcp_mem[3];
|
||||
extern int sysctl_tcp_wmem[3];
|
||||
extern int sysctl_tcp_rmem[3];
|
||||
extern int sysctl_tcp_workaround_signed_windows;
|
||||
|
||||
#define TCP_RACK_LOSS_DETECTION 0x1 /* Use RACK to detect losses */
|
||||
|
||||
|
@ -1302,7 +1301,8 @@ static inline void tcp_slow_start_after_idle_check(struct sock *sk)
|
|||
}
|
||||
|
||||
/* Determine a window scaling and initial window to offer. */
|
||||
void tcp_select_initial_window(int __space, __u32 mss, __u32 *rcv_wnd,
|
||||
void tcp_select_initial_window(const struct sock *sk, int __space,
|
||||
__u32 mss, __u32 *rcv_wnd,
|
||||
__u32 *window_clamp, int wscale_ok,
|
||||
__u8 *rcv_wscale, __u32 init_rcv_wnd);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue