On 5/15/19 12:29 PM, Malahal Naineni wrote:
> The xprt->xp_refcnt is supposed to prevent two destroys in the first place. If that isn't working correctly, then the atomic_postset is kinda useless as it could be working on an unknown xprt memory while using the flag, right?
>
Obviously, that was the theory. But that flag helped find a lot of implementation holes
since 1994....
For one thing, the refs used to go to zero, then up to one again, and down to zero again
during the cleanup and free task.
Are they all fixed now? The Subject line seems to disagree.