Re: [PATCH net-next] tcp: inherit listener congestion control for passive cnx
From: Rick Jones <hidden>
Date: 2011-11-30 21:29:02
From: Rick Jones <hidden>
Date: 2011-11-30 21:29:02
Rick Jones reported that TCP_CONGESTION sockopt performed on a listener was ignored for its children sockets : right after accept() the congestion control for new socket is the system default one. This seems an oversight of the initial design (quoted from Stephen) Based on prior investigation and patch from Rick. Reported-by: Rick Jones<redacted> Signed-off-by: Eric Dumazet<redacted> CC: Stephen Hemminger<redacted> CC: Yuchung Cheng<redacted>
Tested-by: Rick Jones <redacted> Works as expected/desired with my test program, and doesn't appear to affect performance measurably (loopback netperf TCP_CC test on a 1 VCPU guest). rick jones