In a private mail, reschauzier points me something I think is a bug. The greylist entries held in memory have a p_refcnt field, for reference count. It avoids the entry being free'ed by a thread while the MX sync thread is working on it. It seems there is no similar locking mechanism for the autowhite list. I think a thread can therefore free an autowhite entry while the sync thread is working on it. This is likely to lead to a crash. Anyone has an opinion on this? Did I miss something? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@...
Message
locking issue for autowhite list?
2009-01-23 by manu@netbsd.org