Re: bug in /net/core/dev.c

From: David S. Miller (davem@redhat.com)
Date: Tue Jun 12 2001 - 11:51:39 EST


DJBARROW@de.ibm.com writes:
> This is a cure the syntom not the problem, build order shouldn't mess up
> something this simple.

The refcounting issue you've described is a bug, and so is
initializing a network device before net_dev_init() has been invoked.
These two things are equally buggy.

Build order does mess up things this simple, look at the comments at
the top of drivers/scsi/Makefile if you don't believe me :-)

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 15 2001 - 21:00:15 EST