diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-07-11 21:56:58 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-07-11 21:56:58 +0000 |
commit | b7a5696a9bda1d0dfd383a3ac205be5a490d5ccb (patch) | |
tree | 40b5cbef941f252838e58ced515e55ea6dbe6f4c /lib/libthr/thread/thr_self.c | |
parent | 7647a9354ef36efc83208d186d15693c50cf5627 (diff) | |
download | FreeBSD-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