Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79291
b: refs/heads/master
c: cb53c04
h: refs/heads/master
i:
  79289: 31b6f5b
  79287: abcf5c8
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jan 28, 2008
1 parent 0b6b01c commit 0e40748
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a47812211bb38c6754a5a6a952ab406e711cc6e0
refs/heads/master: cb53c048912976d1d81b8f3475463788f462eebd
10 changes: 4 additions & 6 deletions trunk/net/sched/sch_ingress.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include <net/pkt_sched.h>


#define PRIV(sch) qdisc_priv(sch)

/* Thanks to Doron Oz for this hack */
#ifndef CONFIG_NET_CLS_ACT
#ifdef CONFIG_NETFILTER
Expand Down Expand Up @@ -74,7 +72,7 @@ static void ingress_walk(struct Qdisc *sch, struct qdisc_walker *walker)

static struct tcf_proto **ingress_find_tcf(struct Qdisc *sch, unsigned long cl)
{
struct ingress_qdisc_data *p = PRIV(sch);
struct ingress_qdisc_data *p = qdisc_priv(sch);

return &p->filter_list;
}
Expand All @@ -83,7 +81,7 @@ static struct tcf_proto **ingress_find_tcf(struct Qdisc *sch, unsigned long cl)

static int ingress_enqueue(struct sk_buff *skb, struct Qdisc *sch)
{
struct ingress_qdisc_data *p = PRIV(sch);
struct ingress_qdisc_data *p = qdisc_priv(sch);
struct tcf_result res;
int result;

Expand Down Expand Up @@ -180,7 +178,7 @@ static struct nf_hook_ops ing_ops[] __read_mostly = {

static int ingress_init(struct Qdisc *sch, struct rtattr *opt)
{
struct ingress_qdisc_data *p = PRIV(sch);
struct ingress_qdisc_data *p = qdisc_priv(sch);

/* Make sure either netfilter or preferably CLS_ACT is
* compiled in */
Expand Down Expand Up @@ -217,7 +215,7 @@ static void ingress_reset(struct Qdisc *sch)

static void ingress_destroy(struct Qdisc *sch)
{
struct ingress_qdisc_data *p = PRIV(sch);
struct ingress_qdisc_data *p = qdisc_priv(sch);

tcf_destroy_chain(p->filter_list);
}
Expand Down

0 comments on commit 0e40748

Please sign in to comment.