* [NETDRV] Fix netdev leak on probe failure in 3c527
@ 2004-06-05 7:55 Herbert Xu
2004-06-08 18:33 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2004-06-05 7:55 UTC (permalink / raw)
To: Jeff Garzik, netdev
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
Hi Jeff:
This patch frees the netdev on failure in mc32_probe in 3c527.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
[-- Attachment #2: p --]
[-- Type: text/plain, Size: 247 bytes --]
===== drivers/net/3c527.c 1.23 vs edited =====
--- 1.23/drivers/net/3c527.c 2004-05-22 17:28:45 +10:00
+++ edited/drivers/net/3c527.c 2004-06-05 17:51:23 +10:00
@@ -287,6 +287,7 @@
}
}
+ free_netdev(dev);
return ERR_PTR(-ENODEV);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [NETDRV] Fix netdev leak on probe failure in 3c527
2004-06-05 7:55 [NETDRV] Fix netdev leak on probe failure in 3c527 Herbert Xu
@ 2004-06-08 18:33 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-06-08 18:33 UTC (permalink / raw)
To: Herbert Xu; +Cc: netdev
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-08 18:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-05 7:55 [NETDRV] Fix netdev leak on probe failure in 3c527 Herbert Xu
2004-06-08 18:33 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).