We should not forget to stop the etherq (was not sure if the stack does

it for us, but seems that we had a lock/memory-leak, here).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14411 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Waldemar Kornewald
2005-10-18 18:46:45 +00:00
parent 3ea780cdf9
commit e50616872e
@@ -988,6 +988,8 @@ static int ether_init(void *cpp)
static int ether_stop()
{
struct ether_device *dptr = ether_devices, *odev;
stop_ifq(etherq);
etherq = NULL;
kill_thread(ether_rxt);
while (dptr) {