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

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)