summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/tcp/tcp_bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp_bind.c')
-rw-r--r--usr/src/uts/common/inet/tcp/tcp_bind.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp_bind.c b/usr/src/uts/common/inet/tcp/tcp_bind.c
index 876e7d48e6..18efac7b74 100644
--- a/usr/src/uts/common/inet/tcp/tcp_bind.c
+++ b/usr/src/uts/common/inet/tcp/tcp_bind.c
@@ -1006,11 +1006,10 @@ tcp_rg_t *
tcp_rg_init(tcp_t *tcp)
{
tcp_rg_t *rg;
- rg = kmem_alloc(sizeof (tcp_rg_t), KM_NOSLEEP|KM_NORMALPRI);
+ rg = kmem_alloc(sizeof (tcp_rg_t), KM_NOSLEEP_LAZY);
if (rg == NULL)
return (NULL);
- rg->tcprg_members = kmem_zalloc(2 * sizeof (tcp_t *),
- KM_NOSLEEP|KM_NORMALPRI);
+ rg->tcprg_members = kmem_zalloc(2 * sizeof (tcp_t *), KM_NOSLEEP_LAZY);
if (rg->tcprg_members == NULL) {
kmem_free(rg, sizeof (tcp_rg_t));
return (NULL);
@@ -1063,7 +1062,7 @@ tcp_rg_insert(tcp_rg_t *rg, tcp_t *tcp)
return (EINVAL);
}
newmembers = kmem_zalloc(newsize * sizeof (tcp_t *),
- KM_NOSLEEP|KM_NORMALPRI);
+ KM_NOSLEEP_LAZY);
if (newmembers == NULL) {
mutex_exit(&rg->tcprg_lock);
return (ENOMEM);