patch-2.4.25 linux-2.4.25/net/sched/cls_api.c
Next file: linux-2.4.25/net/sched/sch_atm.c
Previous file: linux-2.4.25/net/sched/Config.in
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/net/sched/cls_api.c
- Orig date:
2001-12-21 09:42:06.000000000 -0800
diff -urN linux-2.4.24/net/sched/cls_api.c linux-2.4.25/net/sched/cls_api.c
@@ -246,9 +246,7 @@
*back = tp->next;
spin_unlock_bh(&dev->queue_lock);
write_unlock(&qdisc_tree_lock);
-
- tp->ops->destroy(tp);
- kfree(tp);
+ tcf_destroy(tp);
err = 0;
goto errout;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)