summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_syscalls.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-09-09 02:07:18 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-09-09 02:07:18 +0000
commita5b3fd83d62eb29fb2f7392b62789473fe817dbf (patch)
tree528822502e0e12da1a75ccc8ab4e6c6814e6c9bd /sys/kern/uipc_syscalls.c
parent9d3cc6498d4374474907715a3f3c55c020a07636 (diff)
Delete the SS_ISCONFIRMING flag that supported delayed connection
confirmation: it was only used for netiso, which was deleted a *decade* ago ok mpi@ claudio@ ports scan by sthen@
Diffstat (limited to 'sys/kern/uipc_syscalls.c')
-rw-r--r--sys/kern/uipc_syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c
index f1dc4587ea2..e8292078286 100644
--- a/sys/kern/uipc_syscalls.c
+++ b/sys/kern/uipc_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_syscalls.c,v 1.92 2014/08/31 01:42:36 guenther Exp $ */
+/* $OpenBSD: uipc_syscalls.c,v 1.93 2014/09/09 02:07:17 guenther Exp $ */
/* $NetBSD: uipc_syscalls.c,v 1.19 1996/02/09 19:00:48 christos Exp $ */
/*
@@ -960,7 +960,7 @@ sys_getpeername(struct proc *p, void *v, register_t *retval)
if ((error = getsock(p->p_fd, SCARG(uap, fdes), &fp)) != 0)
return (error);
so = fp->f_data;
- if ((so->so_state & (SS_ISCONNECTED|SS_ISCONFIRMING)) == 0) {
+ if ((so->so_state & SS_ISCONNECTED) == 0) {
FRELE(fp, p);
return (ENOTCONN);
}