Current problem reports assigned to freebsd-net@FreeBSD.org

2011-06-13 Thread FreeBSD bugmaster
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker

Automatic receive buffer sizing works only for connections in ESTABLISHED state

2011-06-13 Thread Mikolaj Golub
Hi, Automatic receive buffer sizing works only for connections in ESTABLISHED state. In tcp_input() auto resizing code is under "if (tp->t_state == TCPS_ESTABLISHED && ...)" branch. This is unfortunate for HAST, which uses one direction connections and shutdown another direction, so the receiving

H/W offload VLAN/PPPoE/NAT

2011-06-13 Thread Aleksandr Rybalko
Hi folks, I work with System-on-Chip(SoC) Ralink RT3052F and I have a questions which I think preferred to discuss here. SoC have Ethernet MAC and Ethernet switch, they connected together with two ports at MAC side called as GMAC1 and GMAC2. MAC internally have so called Frame-Engine, bus that d

Scenario to make recv(MSG_WAITALL) stuck

2011-06-13 Thread Mikolaj Golub
Hi, Below is a scenario how to make recv(2) with MSG_WAITALL flag get stuck. (See http://people.freebsd.org/~trociny/test_MSG_WAITALL.4.c for the test code). Let's the size of the receive buffer is SOBUF_SIZE (e.g. 1 bytes). On sender side do 2 send() requests: 1) data of size much smaller

Re: Automatic receive buffer sizing works only for connections in ESTABLISHED state

2011-06-13 Thread Kip Macy
On Mon, Jun 13, 2011 at 4:58 PM, Mikolaj Golub wrote: > Hi, > > Automatic receive buffer sizing works only for connections in ESTABLISHED > state. In tcp_input() auto resizing code is under "if (tp->t_state == > TCPS_ESTABLISHED && ...)" branch. > > This is unfortunate for HAST, which uses one dir

Re: Automatic receive buffer sizing works only for connections in ESTABLISHED state

2011-06-13 Thread Andre Oppermann
On 13.06.2011 18:47, Kip Macy wrote: On Mon, Jun 13, 2011 at 4:58 PM, Mikolaj Golub wrote: Hi, Automatic receive buffer sizing works only for connections in ESTABLISHED state. In tcp_input() auto resizing code is under "if (tp->t_state == TCPS_ESTABLISHED&& ...)" branch. This is unfortunate

Re: kern/152360: [dummynet] [panic] Crash related to dummynet.

2011-06-13 Thread ae
Synopsis: [dummynet] [panic] Crash related to dummynet. Responsible-Changed-From-To: freebsd-net->freebsd-ipfw Responsible-Changed-By: ae Responsible-Changed-When: Tue Jun 14 06:56:18 UTC 2011 Responsible-Changed-Why: Reassign. It's ipfw related. http://www.freebsd.org/cgi/query-pr.cgi?pr=152360