patch-2.3.14 linux/net/sched/cls_api.c

Next file: linux/net/sched/cls_route.c
Previous file: linux/net/rose/rose_route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/net/sched/cls_api.c linux/net/sched/cls_api.c
@@ -125,7 +125,7 @@
 	u32 prio = TC_H_MAJ(t->tcm_info);
 	u32 nprio = prio;
 	u32 parent = t->tcm_parent;
-	struct device *dev;
+	struct net_device *dev;
 	struct Qdisc  *q;
 	struct tcf_proto **back, **chain;
 	struct tcf_proto *tp = NULL;
@@ -352,7 +352,7 @@
 {
 	int t;
 	int s_t;
-	struct device *dev;
+	struct net_device *dev;
 	struct Qdisc *q;
 	struct tcf_proto *tp, **chain;
 	struct tcmsg *tcm = (struct tcmsg*)NLMSG_DATA(cb->nlh);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)