Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79522
b: refs/heads/master
c: 2eb9d75
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jan 28, 2008
1 parent 4b71896 commit 615423f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 11 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: 62e3ba1b558e5f393ef746880613fb8222e64d03
refs/heads/master: 2eb9d75c723252c1fa8f0206e6a0df220e3c64c0
2 changes: 1 addition & 1 deletion trunk/net/sched/cls_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

/* The list of all installed classifier types */

static struct tcf_proto_ops *tcf_proto_base;
static struct tcf_proto_ops *tcf_proto_base __read_mostly;

/* Protects list of registered TC modules. It is pure SMP lock. */
static DEFINE_RWLOCK(cls_mod_lock);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/sched/cls_basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ static int basic_dump(struct tcf_proto *tp, unsigned long fh,
return -1;
}

static struct tcf_proto_ops cls_basic_ops = {
static struct tcf_proto_ops cls_basic_ops __read_mostly = {
.kind = "basic",
.classify = basic_classify,
.init = basic_init,
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/sched/cls_fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,7 @@ static int fw_dump(struct tcf_proto *tp, unsigned long fh,
return -1;
}

static struct tcf_proto_ops cls_fw_ops = {
.next = NULL,
static struct tcf_proto_ops cls_fw_ops __read_mostly = {
.kind = "fw",
.classify = fw_classify,
.init = fw_init,
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/sched/cls_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,7 @@ static int route4_dump(struct tcf_proto *tp, unsigned long fh,
return -1;
}

static struct tcf_proto_ops cls_route4_ops = {
.next = NULL,
static struct tcf_proto_ops cls_route4_ops __read_mostly = {
.kind = "route",
.classify = route4_classify,
.init = route4_init,
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/sched/cls_tcindex.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,7 @@ static int tcindex_dump(struct tcf_proto *tp, unsigned long fh,
return -1;
}

static struct tcf_proto_ops cls_tcindex_ops = {
.next = NULL,
static struct tcf_proto_ops cls_tcindex_ops __read_mostly = {
.kind = "tcindex",
.classify = tcindex_classify,
.init = tcindex_init,
Expand Down
3 changes: 1 addition & 2 deletions trunk/net/sched/cls_u32.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,7 @@ static int u32_dump(struct tcf_proto *tp, unsigned long fh,
return -1;
}

static struct tcf_proto_ops cls_u32_ops = {
.next = NULL,
static struct tcf_proto_ops cls_u32_ops __read_mostly = {
.kind = "u32",
.classify = u32_classify,
.init = u32_init,
Expand Down

0 comments on commit 615423f

Please sign in to comment.