[illumos-Developer] webrev for 1107

Dan Kruchinin dkruchinin at acm.org
Sun Jun 12 19:31:24 PDT 2011


While working on NFS lock manager I found two bugs/issues in illumos.
Here is the first one.
The patch makes do_one() function of nfs_tbind.c able to work with
loopback device (/dev/ticotsord) provider.
We need it for lockd daemon. It uses loopback device to communicate
with kernel part of network lock manager.

The patch also fixes a memleak. do_one() function calls set_addrmask()
which allocates space for buffer, but allocated
buffer isn't freed after work is done.

http://cr.illumos.org/view/lc0jpa3o/illumos-1107-webrev/

-- 
W.B.R.
Dan Kruchinin



More information about the Developer mailing list