NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/54572: RFC number typo in tcp_input() comment



>Number:         54572
>Category:       kern
>Synopsis:       RFC number typo in tcp_input() comment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 25 14:05:00 +0000 2019
>Originator:     Edgar Fuß
>Release:        8.1
>Organization:
Mathematisches Istitut der Universität Bonn
>Environment:
>Description:
A comment in tcp_input() (in sys/netinet/tcp_input.c) reads:

/*
 * Since we've covered the SYN-SENT and SYN-RECEIVED states above
 * we must be in a synchronized state.  RFC791 states (under RST
 * generation) that any unacceptable segment (an out-of-order SYN
 * qualifies) received in a synchronized state must elicit only an
 * empty acknowledgment segment ... and the connection remains in
 * the same state.
 */

Of course, that's 793, not 791 (and "Reset" is spelled out in the RFC section header).
>How-To-Repeat:
 cat sys/netinet/tcp_input.c
>Fix:
s/791/793/
s/RST generation/Reset Generation/



Home | Main Index | Thread Index | Old Index