patch-2.4.0-test12 linux/drivers/net/slip.c
Next file: linux/drivers/net/slip.h
Previous file: linux/drivers/net/sk_mca.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sun Dec 3 17:45:22 2000
- Orig file:
v2.4.0-test11/linux/drivers/net/slip.c
- Orig date:
Sun Aug 6 22:20:09 2000
diff -u --recursive --new-file v2.4.0-test11/linux/drivers/net/slip.c linux/drivers/net/slip.c
@@ -549,7 +549,6 @@
sl->xleft = 0;
spin_unlock_bh(&sl->lock);
- MOD_DEC_USE_COUNT;
return 0;
}
@@ -564,7 +563,6 @@
sl->flags &= (1 << SLF_INUSE);
netif_start_queue(dev);
- MOD_INC_USE_COUNT;
return 0;
}
@@ -646,6 +644,8 @@
dev->addr_len = 0;
dev->type = ARPHRD_SLIP + sl->mode;
dev->tx_queue_len = 10;
+
+ SET_MODULE_OWNER(dev);
dev_init_buffers(dev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)