I was planning to use chan->aux to stick my perf device private data (IOW the session), but now I think I see the problem which Barrett was mentioning me about weird refcounting. In devclone() we simply do:
new_channel->aux = old_channel->aux; Which is not going to be nice once both channels are closed.IMO the device needs a proper ->clone() opportunity (NULL allowed) to incref its own data, otherwise things gets messy. -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
