summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx_pcb.c4
-rw-r--r--sys/netipx/spx_usrreq.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/netipx/ipx_pcb.c b/sys/netipx/ipx_pcb.c
index 0cd7880..f4f42f6 100644
--- a/sys/netipx/ipx_pcb.c
+++ b/sys/netipx/ipx_pcb.c
@@ -288,7 +288,7 @@ ipx_setsockaddr(ipxp, nam)
sipx->sipx_len = sizeof(*sipx);
sipx->sipx_family = AF_IPX;
sipx->sipx_addr = ipxp->ipxp_laddr;
- *nam = dup_sockaddr((struct sockaddr *)sipx, 0);
+ *nam = sodupsockaddr((struct sockaddr *)sipx, M_NOWAIT);
}
void
@@ -303,7 +303,7 @@ ipx_setpeeraddr(ipxp, nam)
sipx->sipx_len = sizeof(*sipx);
sipx->sipx_family = AF_IPX;
sipx->sipx_addr = ipxp->ipxp_faddr;
- *nam = dup_sockaddr((struct sockaddr *)sipx, 0);
+ *nam = sodupsockaddr((struct sockaddr *)sipx, M_NOWAIT);
}
/*
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index 1424754..ea47aba 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -1302,7 +1302,7 @@ spx_accept(so, nam)
sipx->sipx_len = sizeof *sipx;
sipx->sipx_family = AF_IPX;
sipx->sipx_addr = ipxp->ipxp_faddr;
- *nam = dup_sockaddr((struct sockaddr *)sipx, 0);
+ *nam = sodupsockaddr((struct sockaddr *)sipx, M_NOWAIT);
return (0);
}
OpenPOWER on IntegriCloud