From owner-cvs-all@FreeBSD.ORG Mon Aug 6 15:46:47 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4700516A417; Mon, 6 Aug 2007 15:46:47 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 418D813C461; Mon, 6 Aug 2007 15:46:47 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l76Fklxr014480; Mon, 6 Aug 2007 15:46:47 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l76FkleV014479; Mon, 6 Aug 2007 15:46:47 GMT (envelope-from rrs) Message-Id: <200708061546.l76FkleV014479@repoman.freebsd.org> From: Randall Stewart Date: Mon, 6 Aug 2007 15:46:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet sctp_constants.h sctp_input.c sctp_uio.h sctp_usrreq.c sctputil.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 15:46:47 -0000 rrs 2007-08-06 15:46:46 UTC FreeBSD src repository Modified files: sys/netinet sctp_constants.h sctp_input.c sctp_uio.h sctp_usrreq.c sctputil.c Log: - change number assignments for SHA225-512 (match artisync for bakeoff.. using the next sequential ones) - In cookie processing 1-2-1, we did not increment the stcb refcnt before releasing the tcb lock. We need to do this to keep the tcb from being freed by a abort or ?? unlikely but worth doing. Also get rid of unneed INP_WLOCK. - extra receive info included the rcvinfo which killed the padding/alignment. We now redefine all the fields properly so they both align properly both to 128 bytes. - A peeled off socket would not close without an error due to its misguided idea that sctp_disconnect() was not supported on it. This fixes it so it goes through the proper path. - When an assoc was being deleted after abort (via a timer) a small race condition exists where we might take a packet for the old assoc (since we are waiting for a cleanup timer). This state especially happens in mac. We now add a state in the asoc so these can properly handle the packet as OOTB. Approved by: re@freebsd.org(Ken Smith) Revision Changes Path 1.25 +1 -0 src/sys/netinet/sctp_constants.h 1.55 +12 -0 src/sys/netinet/sctp_input.c 1.25 +12 -4 src/sys/netinet/sctp_uio.h 1.41 +2 -1 src/sys/netinet/sctp_usrreq.c 1.54 +3 -0 src/sys/netinet/sctputil.c