Mercurial > illumos > illumos-gate
changeset 10557:6c4c71e8968b
6869518 panic vmem_hash_delete: bad free at nfs4_free_args
author | James Wahlig <James.Wahlig@Sun.COM> |
---|---|
date | Wed, 16 Sep 2009 11:37:26 -0500 |
parents | 5c3063b6bc68 |
children | 39a5e9474d0b |
files | usr/src/uts/common/fs/nfs/nfs4_vfsops.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/fs/nfs/nfs4_vfsops.c Wed Sep 16 01:27:25 2009 -0700 +++ b/usr/src/uts/common/fs/nfs/nfs4_vfsops.c Wed Sep 16 11:37:26 2009 -0500 @@ -549,7 +549,7 @@ goto errout; } - nargs->addr = kmem_alloc(sizeof (struct netbuf), KM_SLEEP); + nargs->addr = kmem_zalloc(sizeof (struct netbuf), KM_SLEEP); userbufptr = STRUCT_FGETP(addr_tmp, buf); addr.len = STRUCT_FGET(addr_tmp, len); addr.buf = kmem_alloc(addr.len, KM_SLEEP);