summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_pcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netipx/ipx_pcb.c')
-rw-r--r--sys/netipx/ipx_pcb.c4
1 files changed, 2 insertions, 2 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);
}
/*
OpenPOWER on IntegriCloud