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

David S. Miller (davem@redhat.com)
Tue, 12 Jun 2001 09:51:39 -0700 (PDT)


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/