While you're at it, check the cleanup_module() routine, that one has a
similar problem:
if (dev->priv != NULL) {
kfree(dev->priv);
dev->priv = NULL;
free_irq(dev->irq, dev);
irq2dev_map[dev->irq] = NULL;
release_region(dev->base_addr, NE_IO_EXTENT);
unregister_netdev(dev);
}
I think this order is more or less completely turned upside down...
olaf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu