[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070730.162955.38321755.davem@davemloft.net>
Date: Mon, 30 Jul 2007 16:29:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org, kaber@...sh.net
Subject: Re: [PATCH 1/6] [NET]: Call uninit if necessary in
register_netdevice
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Thu, 26 Jul 2007 17:09:08 +0800
> [NET]: Call uninit if necessary in register_netdevice
>
> This patch makes register_netdevice call dev->uninit if the regsitration
> fails after dev->init has completed successfully. Very few drivers use
> the init/uninit calls but at least one (drivers/net/wan/sealevel.c) may
> leak without this change.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Looks great, applied.
-
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