On Wed, October 24, 2007 12:58, Ingo Molnar wrote: > > the NULL dereference is here: > > (gdb) list *0xffffffff804a9504 > 0xffffffff804a9504 is in natsemi_poll (drivers/net/natsemi.c:717). > 712 return count; > 713 } > 714 > 715 static inline void __iomem *ns_ioaddr(struct net_device *dev) > 716 { > 717 return (void __iomem *) dev->base_addr; > 718 } > 719 > > > which is this code from natsemi.c: > > 2227 struct net_device *dev = np->dev; > 2228 void __iomem * ioaddr = ns_ioaddr(dev); > 2229 int work_done = 0; > > > seems like the NAPI changes in -rc1 added an np->dev field but forgot to > initialize it ... > > does the patch below fix the oops for you? > > Ingo > >
Yep, that got it, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/