[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081203.205745.127195542.davem@davemloft.net>
Date: Wed, 03 Dec 2008 20:57:45 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kkeil@...e.de
Cc: akpm@...ux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...enslange-mailadresse.de, calle@...le.de,
stable@...nel.org
Subject: Re: [patch for 2.6.28? 1/1] b1isa: fix b1isa_exit() to really
remove registered capi controllers
From: Karsten Keil <kkeil@...e.de>
Date: Tue, 2 Dec 2008 12:49:26 +0100
> On "/etc/init.d/capiutils stop", this oops happened.
>
> The oops happens on reading /proc/capi/controllers because
> capi_ctrl->procinfo is called for the wrongly not unregistered
> controller, which points to b1isa_procinfo(), which was removed on
> module unload.
>
> b1isa_exit() did not call b1isa_remove() for its controllers because
> io[0] == 0 on module unload despite having been 0x340 on module load.
>
> Besides, just removing the controllers that where added on module
> load time and not those that were added later via b1isa_add_card() is
> wrong too - the place where all added cards are found is isa_dev[].
...
> Signed-off-by: Wilfried Klaebe <linux-kernel@...enslange-mailadresse.de>
> Cc: <calle@...le.de>
> Cc: <stable@...nel.org> [2.6.everything]
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> Acked-by: Karsten Keil <kkeil@...e.de>
Patch applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists