Re: [PATCH] dm9000: do not kfree() netdevice

2007-02-16 Thread Ben Dooks
On Mon, Feb 12, 2007 at 12:05:39PM +, Ben Dooks wrote: > The DM9000 network driver is calling kfree() on an netdev > causing the system to oops if the probe fails. The right > thing to do is call free_netdev(). > > Thanks to Russell King for spotting this. > > Signed-off-by: Ben Dooks <[EMAIL

[PATCH] dm9000: do not kfree() netdevice

2007-02-12 Thread Ben Dooks
The DM9000 network driver is calling kfree() on an netdev causing the system to oops if the probe fails. The right thing to do is call free_netdev(). Thanks to Russell King for spotting this. Signed-off-by: Ben Dooks <[EMAIL PROTECTED]> diff -urpN -X ../dontdiff linux-2.6.20/drivers/net/dm9000.c