Subject: comment on tcp_input(): clarify "specification" [patch]
To: None <tech-net@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-net
Date: 05/19/2005 16:17:59
In light of http://www.kb.cert.org/vuls/id/637934, I was reading a bit of 
C source, and wondered if we should clarify what "the specification" (for 
tcp, aparently) is in the source, as per the following patch.

Any objections?


  - Hubert


Index: tcp_input.c
===================================================================
RCS file: /cvsroot/src/sys/netinet/tcp_input.c,v
retrieving revision 1.227
diff -u -r1.227 tcp_input.c
--- tcp_input.c 26 Apr 2005 05:37:45 -0000      1.227
+++ tcp_input.c 19 May 2005 14:15:05 -0000
@@ -892,8 +892,7 @@
  }

  /*
- * TCP input routine, follows pages 65-76 of the
- * protocol specification dated September, 1981 very closely.
+ * TCP input routine, follows pages 65-76 of RFC 793 very closely.
   */
  void
  tcp_input(struct mbuf *m, ...)

-- 
Genervt von Viren und von Viren versandten Spam-Mails?  -> www.NetBSD.de
Fed up from viruses & virus-originated spam mail?       -> www.NetBSD.org