From 4fb690ad98a7a387ff4d28d762a45f130a049552 Mon Sep 17 00:00:00 2001 From: rrs Date: Fri, 15 Jun 2007 19:28:58 +0000 Subject: - Update the comment lines in sctp_input.c - We need to init the INP_LOCK since otherwise for non-SMP kernels you crash when you set the TOS. --- sys/netinet/sctp_input.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sys/netinet/sctp_input.c') diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index 2578d9f..f1fad88 100644 --- a/sys/netinet/sctp_input.c +++ b/sys/netinet/sctp_input.c @@ -3676,19 +3676,17 @@ process_control_chunks: return (NULL); } } else { - /* - * For cookies and all other chunks. if the - */ + /* For cookies and all other chunks. */ if (chk_length > sizeof(chunk_buf)) { /* * use just the size of the chunk buffer so * the front part of our chunks fit in * contiguous space up to the chunk buffer * size (508 bytes). For chunks that need to - * get more than that they mus use the + * get more than that they must use the * sctp_m_getptr() function or other means - * (know how to parse mbuf chains). Cookies - * do this already. + * (e.g. know how to parse mbuf chains). + * Cookies do this already. */ ch = (struct sctp_chunkhdr *)sctp_m_getptr(m, *offset, (sizeof(chunk_buf) - 4), -- cgit v1.1