mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* pci_walk_bus race condition
@ 2006-05-26  6:35 Zhang, Yanmin
  2006-05-26 13:50 ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: Zhang, Yanmin @ 2006-05-26  6:35 UTC (permalink / raw)
  To: LKML

pci_walk_bus has a race with pci_destroy_dev. In the while loop,
when the callback function is called, dev pointed by next might be
freed and erased. So later on access to dev might cause kernel panic.

Yanmin

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-06-02 10:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-26  6:35 pci_walk_bus race condition Zhang, Yanmin
2006-05-26 13:50 ` Greg KH
2006-05-29  0:41   ` Zhang, Yanmin
2006-05-29  8:05     ` Zhang, Yanmin
2006-06-02  4:35       ` Zhang, Yanmin
2006-06-02  5:11         ` Andrew Morton
2006-06-02  5:24           ` Andrew Morton
2006-06-02 10:51             ` Zhang, Yanmin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®