On Fri, 03 Sep 2010 09:18:44 -0700 Wes wrote: WH> When the inode is zero, get_pid_from_inode will match it with invalid WH> file descriptors. It will therefor return pid 1 (init), because it is WH> the first to match with inode zero. This patch checks the inode given WH> and returns a zero pid if the inode is also zero.
I assume you meant for this to be a CFV? ;-) +1 ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders