Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 fix missed parameter type change in dccp6_accep...
details: https://anonhg.NetBSD.org/src/rev/c2ac77d45bea
branches: trunk
changeset: 337731:c2ac77d45bea
user: rtr <rtr%NetBSD.org@localhost>
date: Sat Apr 25 14:56:05 2015 +0000
description:
fix missed parameter type change in dccp6_accept() to sockaddr * from mbuf *
diffstat:
sys/netinet6/dccp6_usrreq.c | 6 +++---
sys/netinet6/dccp6_var.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (47 lines):
diff -r 6d79e7e5c48b -r c2ac77d45bea sys/netinet6/dccp6_usrreq.c
--- a/sys/netinet6/dccp6_usrreq.c Sat Apr 25 14:41:33 2015 +0000
+++ b/sys/netinet6/dccp6_usrreq.c Sat Apr 25 14:56:05 2015 +0000
@@ -1,5 +1,5 @@
/* $KAME: dccp6_usrreq.c,v 1.13 2005/07/27 08:42:56 nishida Exp $ */
-/* $NetBSD: dccp6_usrreq.c,v 1.3 2015/04/24 22:32:37 rtr Exp $ */
+/* $NetBSD: dccp6_usrreq.c,v 1.4 2015/04/25 14:56:05 rtr Exp $ */
/*
* Copyright (C) 2003 WIDE Project.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dccp6_usrreq.c,v 1.3 2015/04/24 22:32:37 rtr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dccp6_usrreq.c,v 1.4 2015/04/25 14:56:05 rtr Exp $");
#include "opt_inet.h"
#include "opt_dccp.h"
@@ -268,7 +268,7 @@
int error = 0;
DCCP_DEBUG((LOG_INFO, "Entering dccp6_accept!\n"));
- if (m == NULL) {
+ if (nam == NULL) {
return EINVAL;
}
if (so->so_state & SS_ISDISCONNECTED) {
diff -r 6d79e7e5c48b -r c2ac77d45bea sys/netinet6/dccp6_var.h
--- a/sys/netinet6/dccp6_var.h Sat Apr 25 14:41:33 2015 +0000
+++ b/sys/netinet6/dccp6_var.h Sat Apr 25 14:56:05 2015 +0000
@@ -1,5 +1,5 @@
/* $KAME: dccp6_var.h,v 1.3 2003/11/18 04:55:43 ono Exp $ */
-/* $NetBSD: dccp6_var.h,v 1.2 2015/04/04 04:33:39 rtr Exp $ */
+/* $NetBSD: dccp6_var.h,v 1.3 2015/04/25 14:56:05 rtr Exp $ */
/*
* Copyright (c) 2003 Joacim Häggmark
@@ -46,7 +46,7 @@
int dccp6_bind(struct socket *, struct sockaddr *, struct lwp *);
int dccp6_listen(struct socket *, struct lwp *);
int dccp6_connect(struct socket *, struct mbuf *, struct lwp *);
-int dccp6_accept(struct socket *, struct mbuf *);
+int dccp6_accept(struct socket *, struct sockaddr *);
#endif
#endif
Home |
Main Index |
Thread Index |
Old Index