patch-1.3.3 linux/drivers/net/ppp.c
Next file: linux/fs/binfmt_elf.c
Previous file: linux/drivers/net/ne.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Jun 18 18:11:36 1995
- Orig file:
v1.3.2/linux/drivers/net/ppp.c
- Orig date:
Tue Jun 6 11:22:10 1995
diff -u --recursive --new-file v1.3.2/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -504,6 +504,9 @@
ppp_release (ppp);
PRINTKN (2,(KERN_INFO "ppp: channel %s closing.\n", ppp->dev->name));
+#ifdef MODULE
+ MOD_DEC_USE_COUNT;
+#endif
}
}
@@ -612,9 +615,6 @@
PRINTKN (2,(KERN_INFO "ppp: channel %s going down for IP packets!\n",
dev->name));
CHECK_PPP(-ENXIO);
-#ifdef MODULE
- MOD_DEC_USE_COUNT;
-#endif
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this