Date: 18 Nov 2008 21:21:03 -0000 From: Larry Baird <lab@gta.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/128974: unp_connect() unlocking unp if UNP_CONNECTING Message-ID: <20081118212103.78662.qmail@mailgate.gta.com> Resent-Message-ID: <200811182150.mAILo1ZP081931@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128974 >Category: kern >Synopsis: unp_connect() unlocking unp if UNP_CONNECTING >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 18 21:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Larry Baird >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: >Environment: System: FreeBSD maxwell.gta.com 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Fri Jan 4 05:30:56 EST 2008 root@newmax.gta.com:/usr/src/sys/i386/compile/NEW_MAX i386 >Description: In function unp_connect() of uipc_usrreq.c a test for UNP_CONNECTING being set is made. If the flag is set, UNP_UNLOCK() is called and EALREADY is returned. Calling functions of unp_connect() except unp to still be locked. >How-To-Repeat: >Fix: Don't call UNP_UNLOCK() if UNP_CONNECTING is set. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081118212103.78662.qmail>