patch-2.4.22 linux-2.4.22/drivers/net/pppoe.c
Next file: linux-2.4.22/drivers/net/r8169.c
Previous file: linux-2.4.22/drivers/net/ppp_generic.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/pppoe.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.21/drivers/net/pppoe.c linux-2.4.22/drivers/net/pppoe.c
@@ -605,7 +605,8 @@
/* Delete the old binding */
delete_item(po->pppoe_pa.sid,po->pppoe_pa.remote);
- dev_put(po->pppoe_dev);
+ if(po->pppoe_dev)
+ dev_put(po->pppoe_dev);
memset(po, 0, sizeof(struct pppox_opt));
po->sk = sk;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)