The following reply was made to PR kern/137795; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/137795: commit references a PR
Date: Tue, 18 Aug 2009 20:06:16 +0000 (UTC)

 Author: tuexen
 Date: Tue Aug 18 20:06:00 2009
 New Revision: 196365
 URL: http://svn.freebsd.org/changeset/base/196365
 
 Log:
   Fix a panic when using one-to-one style sockets in non-blocking
   mode and there is no listening server.
   PR: 137795
   Approved by: re, rrs (mentor)
 
 Modified:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
   stable/8/sys/dev/xen/xenpci/   (props changed)
   stable/8/sys/netinet/sctp_output.c
 
 Modified: stable/8/sys/netinet/sctp_output.c
 ==============================================================================
 --- stable/8/sys/netinet/sctp_output.c Tue Aug 18 19:58:49 2009        
(r196364)
 +++ stable/8/sys/netinet/sctp_output.c Tue Aug 18 20:06:00 2009        
(r196365)
 @@ -12464,7 +12464,8 @@ sctp_lower_sosend(struct socket *so,
                        error = ENOTCONN;
                        goto out_unlocked;
                }
 -              hold_tcblock = 0;
 +              SCTP_TCB_LOCK(stcb);
 +              hold_tcblock = 1;
                SCTP_INP_RUNLOCK(inp);
                if (addr) {
                        /* Must locate the net structure if addr given */
 _______________________________________________
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to