Re: [PATCH v3] tcp: add window scaling and RTTM support

2016-02-22 Thread Andrei Borzenkov
18.02.2016 22:20, Josef Bacik пишет: >>> +/* We set the default window size to 1mib. */ >>> +#define DEFAULT_TCP_WINDOW_SIZE "1048576" >> >> Well ... I'm still unsure we should do it by default. > > Sorry I just now noticed you replied. I'll fix up the rest of the > stuff. And apparently we're t

Re: [PATCH v3] tcp: add window scaling and RTTM support

2016-02-18 Thread Josef Bacik
On 02/13/2016 10:40 AM, Andrei Borzenkov wrote: 01.02.2016 21:30, Josef Bacik пишет: ... @@ -745,6 +817,7 @@ grub_net_recv_tcp_packet (struct grub_net_buff *nb, { struct tcphdr *tcph; grub_net_tcp_socket_t sock; + grub_uint32_t tsecr = 0; grub_err_t err; /* Ignore broadcast.

Re: [PATCH v3] tcp: add window scaling and RTTM support

2016-02-13 Thread Andrei Borzenkov
01.02.2016 21:30, Josef Bacik пишет: ... > @@ -745,6 +817,7 @@ grub_net_recv_tcp_packet (struct grub_net_buff *nb, > { >struct tcphdr *tcph; >grub_net_tcp_socket_t sock; > + grub_uint32_t tsecr = 0; >grub_err_t err; > >/* Ignore broadcast. */ > @@ -771,6 +844,38 @@ grub_net_re