]> err.no Git - linux-2.6/blobdiff - net/sched/cls_route.c
pkt_sched: ERR_PTR() ususally encodes an negative errno, not positive.
[linux-2.6] / net / sched / cls_route.c
index f7e7d3955d289f5cd5585bc06bbc9285e56a9834..784dcb870b98181032e2b40d7a37ab3a60445eb1 100644 (file)
@@ -62,7 +62,7 @@ struct route4_filter
 
 #define ROUTE4_FAILURE ((struct route4_filter*)(-1L))
 
-static struct tcf_ext_map route_ext_map = {
+static const struct tcf_ext_map route_ext_map = {
        .police = TCA_ROUTE4_POLICE,
        .action = TCA_ROUTE4_ACT
 };