]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/cls_tcindex.c
nilfs2: another dat for garbage collection
[linux-2.6-omap-h63xx.git] / net / sched / cls_tcindex.c
index ee60b2d1705de6b90a9c1f4dbe29436535a10f47..e806f2314b5e24281dd4bfbe3f442d1c1ee51d41 100644 (file)
 #include <net/netlink.h>
 #include <net/pkt_cls.h>
 
-
-/*
- * Not quite sure if we need all the xchgs Alexey uses when accessing things.
- * Can always add them later ... :)
- */
-
 /*
  * Passing parameters to the root seems to be done more awkwardly than really
  * necessary. At least, u32 doesn't seem to use such dirty hacks. To be
@@ -55,7 +49,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
 };