Re: [2.6 patch] net/phy/fixed.c: fix a use-after-free

2008-02-03 Thread Anton Vorontsov
On Sat, Feb 02, 2008 at 11:15:02PM +0200, Adrian Bunk wrote: > This patch fixes a use-after-free introduced by > commit a79d8e93d300adb8438ac396cfb118c238ad and spotted by the > Coverity checker. Nice catch. We didn't encounter this bug because fixed.c is bool, so module_exit isn't used. Thu

[2.6 patch] net/phy/fixed.c: fix a use-after-free

2008-02-02 Thread Adrian Bunk
This patch fixes a use-after-free introduced by commit a79d8e93d300adb8438ac396cfb118c238ad and spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 20c51455b2faed63c3026fd4d7139e5a6a917d31 diff --git a/drivers/net/phy/fixed.c b/drivers/net/phy/fixed.c index 7