Project

General

Profile

Bug #12300

Memory leak in rfs3_readdirplus()

Added by Marcel Telka about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

There is this memory leak in rfs3_readdirplus():

kmem_alloc_8192 leak: 1 buffer, 8192 bytes
            ADDR          BUFADDR        TIMESTAMP           THREAD
                            CACHE          LASTLOG         CONTENTS
ffffff02197d6c60 ffffff021d999000       3c8a305e1c ffffff0208623840
                 ffffff01e9031b08 ffffff01e9db8640                0
                 kmem_slab_alloc_impl+0x198
                 kmem_slab_alloc+0x62
                 kmem_cache_alloc+0x15b
                 kmem_alloc+0x4b
                 rfs3_readdirplus+0x322
                 common_dispatch+0x9ba
                 rfs_dispatch+0x23
                 svc_getreq+0x24e
                 svc_run+0x170
                 svc_do_run+0x8b
                 nfssys+0xf9

Related issues

Related to illumos gate - Feature #11083: support NFS server in zoneClosedDan McDonald

Actions

Also available in: Atom PDF