nfs_tbind.c do_one() function can't work with loopback
Network lock manager has a lockd daemon that uses nfs_tbind.c do_one() function to
register XTI/TLI provider device (/dev/tcp, /dev/udp, etc) for polling and associate with it netconfig and netid. The problem is lockd needs to use loopback device (/dev/ticotsord provider) for communication with kernel part of network lock manager.
do_one() function wasn't designed to work with loopback, it's a problem.
Updated by Dan Kruchinin almost 9 years ago
The patch allows do_one() to handle loopback device properly.
It also fixes memleak in do_one function (function calls set_addrmask which allocates space for buffer and it doesn't frees buffer then).
Updated by Eric Schrock almost 9 years ago
- Status changed from New to Resolved
user: Dan Kruchinin <firstname.lastname@example.org>
date: Mon Jun 20 07:27:51 2011 -0700
1107 nfs_tbind.c do_one() function can't work with loopback
Reviewed by: Gordon Ross <email@example.com>
Reviewed by: Dan McDonald <firstname.lastname@example.org>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>