kern/128974: unp_connect() unlocking unp if UNP_CONNECTING
Larry Baird
lab at gta.com
Tue Nov 18 13:50:01 PST 2008
>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 at 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:
More information about the freebsd-bugs
mailing list