summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_tcindex.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-02-01 03:36:18 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-01 04:28:34 +0100
commit5239008b0de2507a531440b8c3019fb9c116fb1a (patch)
tree49f4580d2a0178182017b4a07640ac8d0f1c4112 /net/sched/cls_tcindex.c
parent[BLUETOOTH]: Fix bugs in previous conn add/del workqueue changes. (diff)
downloadlinux-5239008b0de2507a531440b8c3019fb9c116fb1a.tar.xz
linux-5239008b0de2507a531440b8c3019fb9c116fb1a.zip
[NET_SCHED]: Constify struct tcf_ext_map
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_tcindex.c')
-rw-r--r--net/sched/cls_tcindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_tcindex.c b/net/sched/cls_tcindex.c
index ee60b2d1705d..7a7bff5ded24 100644
--- a/net/sched/cls_tcindex.c
+++ b/net/sched/cls_tcindex.c
@@ -55,7 +55,7 @@ struct tcindex_data {
int fall_through; /* 0: only classify if explicit match */
};
-static struct tcf_ext_map tcindex_ext_map = {
+static const struct tcf_ext_map tcindex_ext_map = {
.police = TCA_TCINDEX_POLICE,
.action = TCA_TCINDEX_ACT
};