In addition to the fix for Matt Woodley's post "Potential memory leak in sFlow
API" on 10/05/09, I think the "hash_nxt" pointer to the sampler also needs to
be preserved when resetting the sampler.
If a sampler which is stored at a jumptable index (head of list for that slot)
gets reset, it currently loses the reference to the remaining sampler list
members that share that hash table slot.
Regards
Andy
NOTICE: This message contains privileged and confidential
information intended only for the use of the addressee
named above. If you are not the intended recipient of
this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it.
If you have received this message in error please
notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the
individual sender, except where the sender has the
authority to issue and specifically states them to
be the views of Allied Telesis Labs.
Received on Mon Feb 8 15:21:46 2010
This archive was generated by hypermail 2.1.8 : 02/17/10 PST