summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2007-07-09 22:32:57 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 05:19:04 (GMT)
commit4839c52b01ca91be1c62761e08fb3deb3881e857 (patch)
tree21bc1e568bc76b7556816d995fdf6b3304511eab /net/ipv4
parent6b25d30bf112370a12d05c3c0fd43732985dab01 (diff)
downloadlinux-fsl-qoriq-4839c52b01ca91be1c62761e08fb3deb3881e857.tar.xz
[IPV4]: Make ip_tos2prio const.
Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 8528502..88fa648 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -167,7 +167,7 @@ static struct dst_ops ipv4_dst_ops = {
#define ECN_OR_COST(class) TC_PRIO_##class
-__u8 ip_tos2prio[16] = {
+const __u8 ip_tos2prio[16] = {
TC_PRIO_BESTEFFORT,
ECN_OR_COST(FILLER),
TC_PRIO_BESTEFFORT,