| Summary: | properly delay acks in half-closed TCP connections | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Tony Finch <dot> | ||||
| Component: | kern | Assignee: | Jesper Skriver <jesper> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.2-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Tony Finch
2001-02-09 01:30:03 UTC
<<On Fri, 09 Feb 2001 01:28:36 +0000, Tony Finch <dot@dotat.at> said: > + (tp)->t_state >= TCPS_ESTABLISHED) { \ Should use the appropriate macro rather than assuming a particular ordering on the TCP states. In this case, TCPS_HAVEESTABLISHED(state). -GAWollman Garrett Wollman <wollman@khavrinen.lcs.mit.edu> wrote: ><<On Fri, 09 Feb 2001 01:28:36 +0000, Tony Finch <dot@dotat.at> said: > >> + (tp)->t_state >= TCPS_ESTABLISHED) { \ > >Should use the appropriate macro rather than assuming a particular >ordering on the TCP states. In this case, TCPS_HAVEESTABLISHED(state). I noticed later that NetBSD and OpenBSD have both inlined that macro at the single place it is invoked. Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at MALIN HEBRIDES BAILEY: VARIABLE BECOMING SOUTHEASTERLY 3 OR 4, INCREASING 6 OR 7, OCCASIONALLY GALE 8 IN BAILEY LATER. RAIN LATER. GOOD BECOMING MODERATE. Responsible Changed From-To: freebsd-bugs->jesper Will work on this State Changed From-To: open->closed Fix committed in -current, will MFC in about 2 weeks |