relayfs question related to removing parent directory.
I'm seeing a crash when unloading the ath9k module.
It seems relay_close() is being passed bad memory.
The relay_open call uses an ath9k debugfs directory, so that may be removed before the call to relay_close() is called.
Does relayfs automatically close files when the parent directory is removed?
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Quoted 10 lines · Ben Greear
I'm seeing a crash when unloading the ath9k module.
It seems
relay_close()is being passed bad memory.The
relay_opencall uses an ath9k debugfs directory, so that may be removed before the call torelay_close()is called.Does relayfs automatically close files when the parent directory is removed?
Why and how the hell would it possibly manage such a miracle?
Quoted 5 lines · Al Viro
Quoted 4 lines · Ben Greear
I'm seeing a crash when unloading the ath9k module.
It seems
relay_close()is being passed bad memory.
Quoted 9 lines
Quoted 6 lines
The
relay_opencall uses an ath9k debugfs directory, so that may be removed before the call torelay_close()is called.Does relayfs automatically close files when the parent directory is removed?
Why and how the hell would it possibly manage such a miracle?
No idea..I'm just trying to figure out why it is crashing ....don't see anything obvious in ath9k itself, but still looking.
Thanks,
Ben
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com