Re: svn commit: r221346 - head/sys/netinet

2011-06-11 Thread Mike Silbersack
On Fri, 3 Jun 2011, John Baldwin wrote: On Saturday, May 14, 2011 1:07:18 pm Mikolaj Golub wrote: On Sat, 14 May 2011 10:37:51 -0400 John Baldwin wrote: JB> Can you capture a tcpdump (probably easiest to do from the other host)? I replaced the asserts with log statements to make the host n

Re: svn commit: r221346 - head/sys/netinet

2011-06-08 Thread Mikolaj Golub
On Fri, 3 Jun 2011 09:44:36 -0400 John Baldwin wrote: JB> Please try this change. What is happening is that you have a remaining JB> window that is smaller than the window scale. You are receiving zero JB> window updates that are received ok (becuase the socket buffer isn't JB> completely e

Re: svn commit: r221346 - head/sys/netinet

2011-06-03 Thread Mike Silbersack
I'm heading out of town this weekend. I can try to look at this on Tuesday, if nobody beats me to it. -Mike On Fri, 3 Jun 2011, John Baldwin wrote: On Saturday, May 14, 2011 1:07:18 pm Mikolaj Golub wrote: On Sat, 14 May 2011 10:37:51 -0400 John Baldwin wrote: JB> Can you capture a tcp

Re: svn commit: r221346 - head/sys/netinet

2011-06-03 Thread John Baldwin
On Saturday, May 14, 2011 1:07:18 pm Mikolaj Golub wrote: > > On Sat, 14 May 2011 10:37:51 -0400 John Baldwin wrote: > > JB> Can you capture a tcpdump (probably easiest to do from the other host)? > > I replaced the asserts with log statements to make the host not panic and the > captured dump

Re: svn commit: r221346 - head/sys/netinet

2011-05-14 Thread Mikolaj Golub
On Sat, 14 May 2011 10:37:51 -0400 John Baldwin wrote: JB> Can you capture a tcpdump (probably easiest to do from the other host)? I replaced the asserts with log statements to make the host not panic and the captured dump survive. Below are two examples. You can find the raw dump for the firs

Re: svn commit: r221346 - head/sys/netinet

2011-05-14 Thread John Baldwin
On 5/14/11 6:37 AM, Mikolaj Golub wrote: Hi, On Mon, 2 May 2011 21:05:52 + (UTC) John Baldwin wrote: JB> Author: jhb JB> Date: Mon May 2 21:05:52 2011 JB> New Revision: 221346 JB> URL: http://svn.freebsd.org/changeset/base/221346 JB> Log: JB>Handle a rare edge case wi

Re: svn commit: r221346 - head/sys/netinet

2011-05-14 Thread Mikolaj Golub
On Sat, 14 May 2011 13:37:19 +0300 Mikolaj Golub wrote to John Baldwin: JB>> +KASSERT(SEQ_GEQ(tp->rcv_adv, tp->rcv_nxt), JB>> +("tcp_input negative window: tp %p rcv_nxt %u rcv_adv %u", tp, JB>> +tp->rcv_adv, tp->rcv_nxt)); BTW, the message is printed wrongly

Re: svn commit: r221346 - head/sys/netinet

2011-05-14 Thread Mikolaj Golub
Hi, On Mon, 2 May 2011 21:05:52 + (UTC) John Baldwin wrote: JB> Author: jhb JB> Date: Mon May 2 21:05:52 2011 JB> New Revision: 221346 JB> URL: http://svn.freebsd.org/changeset/base/221346 JB> Log: JB> Handle a rare edge case with nearly full TCP receive buffers. If a TCP JB> bu

svn commit: r221346 - head/sys/netinet

2011-05-02 Thread John Baldwin
Author: jhb Date: Mon May 2 21:05:52 2011 New Revision: 221346 URL: http://svn.freebsd.org/changeset/base/221346 Log: Handle a rare edge case with nearly full TCP receive buffers. If a TCP buffer fills up causing the remote sender to enter into persist mode, but there is still room availab