2008-01-30 14:36:59

by Roel Kluin

[permalink] [raw]
Subject: [PATCH][net/sched/sch_teql.c] duplicate IFF_BROADCAST in FMASK, remove 2nd

Untested patch below, please confirm it's the right fix (should it be some
other IFF_*?)
--
duplicate IFF_BROADCAST, remove 2nd

Signed-off-by: Roel Kluin <[email protected]>
---
diff --git a/net/sched/sch_teql.c b/net/sched/sch_teql.c
index c0ed06d..a53acf4 100644
--- a/net/sched/sch_teql.c
+++ b/net/sched/sch_teql.c
@@ -71,7 +71,7 @@ struct teql_sched_data

#define NEXT_SLAVE(q) (((struct teql_sched_data*)qdisc_priv(q))->next)

-#define FMASK (IFF_BROADCAST|IFF_POINTOPOINT|IFF_BROADCAST)
+#define FMASK (IFF_BROADCAST|IFF_POINTOPOINT)

/* "teql*" qdisc routines */


2008-02-01 01:08:50

by David Miller

[permalink] [raw]
Subject: Re: [PATCH][net/sched/sch_teql.c] duplicate IFF_BROADCAST in FMASK, remove 2nd

From: Roel Kluin <[email protected]>
Date: Wed, 30 Jan 2008 15:36:44 +0100

> Untested patch below, please confirm it's the right fix (should it be some
> other IFF_*?)
> --
> duplicate IFF_BROADCAST, remove 2nd
>
> Signed-off-by: Roel Kluin <[email protected]>

Applied, thanks.