public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* relayfs question related to removing parent directory.
@ 2013-05-08 20:32 Ben Greear
  2013-05-08 20:35 ` Al Viro
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2013-05-08 20:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List

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

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: relayfs question related to removing parent directory.
  2013-05-08 20:32 relayfs question related to removing parent directory Ben Greear
@ 2013-05-08 20:35 ` Al Viro
  2013-05-08 20:37   ` Ben Greear
  0 siblings, 1 reply; 3+ messages in thread
From: Al Viro @ 2013-05-08 20:35 UTC (permalink / raw)
  To: Ben Greear; +Cc: Linux Kernel Mailing List

On Wed, May 08, 2013 at 01:32:06PM -0700, Ben Greear wrote:
> 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?

Why and how the hell would it possibly manage such a miracle?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: relayfs question related to removing parent directory.
  2013-05-08 20:35 ` Al Viro
@ 2013-05-08 20:37   ` Ben Greear
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Greear @ 2013-05-08 20:37 UTC (permalink / raw)
  To: Al Viro; +Cc: Linux Kernel Mailing List

On 05/08/2013 01:35 PM, Al Viro wrote:
> On Wed, May 08, 2013 at 01:32:06PM -0700, Ben Greear wrote:
>> 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?
>
> 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

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-08 20:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08 20:32 relayfs question related to removing parent directory Ben Greear
2013-05-08 20:35 ` Al Viro
2013-05-08 20:37   ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox