patch-2.4.22 linux-2.4.22/net/sched/sch_ingress.c
Next file: linux-2.4.22/net/sched/sch_prio.c
Previous file: linux-2.4.22/net/sched/sch_htb.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/net/sched/sch_ingress.c
- Orig date:
2002-11-28 15:53:16.000000000 -0800
diff -urN linux-2.4.21/net/sched/sch_ingress.c linux-2.4.22/net/sched/sch_ingress.c
@@ -15,10 +15,10 @@
#include <linux/rtnetlink.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter.h>
+#include <linux/smp.h>
#include <net/pkt_sched.h>
#include <asm/byteorder.h>
#include <asm/uaccess.h>
-#include <asm/smp.h>
#include <linux/kmod.h>
#include <linux/stat.h>
#include <linux/interrupt.h>
@@ -190,7 +190,7 @@
return 0;
}
-static int ingress_drop(struct Qdisc *sch)
+static unsigned int ingress_drop(struct Qdisc *sch)
{
#ifdef DEBUG_INGRESS
struct ingress_qdisc_data *p = PRIV(sch);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)