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

2001-06-13 Thread DJBARROW
Hi, Here is the patch again for the benefit of those who are allergic to opening enclosures. I believe it will only take about 30 seconds of "real thinking" for those familiar with dev.c to make an evaluation of the patch. Those already familiar with the bug can skip this paragraph, The bug fi

bug in /net/core/dev.c

2001-06-11 Thread DJBARROW
Hi, I found this bug in dev.c It happens if register_netdevice is called before net_dev_init which can happen from init functions, when device drivers are compiled into the kernel. The dev->refcnt will go up to 2 ( it should be 1) unregister_netdevice will usually loop forever waiting for th