Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Call IPv4 handler for accept().
details: https://anonhg.NetBSD.org/src/rev/6a05234176e7
branches: trunk
changeset: 1009587:6a05234176e7
user: rjs <rjs%NetBSD.org@localhost>
date: Mon Apr 27 19:33:48 2020 +0000
description:
Call IPv4 handler for accept().
diffstat:
sys/netinet6/sctp6_usrreq.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 1717ed29e7d4 -r 6a05234176e7 sys/netinet6/sctp6_usrreq.c
--- a/sys/netinet6/sctp6_usrreq.c Mon Apr 27 19:21:43 2020 +0000
+++ b/sys/netinet6/sctp6_usrreq.c Mon Apr 27 19:33:48 2020 +0000
@@ -1,5 +1,5 @@
/* $KAME: sctp6_usrreq.c,v 1.38 2005/08/24 08:08:56 suz Exp $ */
-/* $NetBSD: sctp6_usrreq.c,v 1.21 2020/04/27 19:21:43 rjs Exp $ */
+/* $NetBSD: sctp6_usrreq.c,v 1.22 2020/04/27 19:33:48 rjs Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp6_usrreq.c,v 1.21 2020/04/27 19:21:43 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp6_usrreq.c,v 1.22 2020/04/27 19:33:48 rjs Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1275,9 +1275,7 @@
static int
sctp6_accept(struct socket *so, struct sockaddr *nam)
{
- KASSERT(solocked(so));
-
- return EOPNOTSUPP;
+ return sctp_accept(so, nam);
}
static int
Home |
Main Index |
Thread Index |
Old Index