summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_self.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-07-11 21:56:58 +0000
committerrwatson <rwatson@FreeBSD.org>2006-07-11 21:56:58 +0000
commitb7a5696a9bda1d0dfd383a3ac205be5a490d5ccb (patch)
tree40b5cbef941f252838e58ced515e55ea6dbe6f4c /lib/libthr/thread/thr_self.c
parent7647a9354ef36efc83208d186d15693c50cf5627 (diff)
downloadFreeBSD-src-b7a5696a9bda1d0dfd383a3ac205be5a490d5ccb.zip
FreeBSD-src-b7a5696a9bda1d0dfd383a3ac205be5a490d5ccb.tar.gz
When pru_attach() fails, call sodealloc() on the socket rather than
using sorele() and the full tear-down path. Since protocol state allocation failed, this is not required (and is arguably undesirable). This matches the behavior of sonewconn() under the same circumstances.
Diffstat (limited to 'lib/libthr/thread/thr_self.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud