summaryrefslogtreecommitdiffstats
path: root/include/net/route.h
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2007-07-10 00:32:57 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-11 07:19:04 +0200
commit4839c52b01ca91be1c62761e08fb3deb3881e857 (patch)
tree21bc1e568bc76b7556816d995fdf6b3304511eab /include/net/route.h
parent[NET]: Fix gen_estimator timer removal race (diff)
downloadlinux-4839c52b01ca91be1c62761e08fb3deb3881e857.tar.xz
linux-4839c52b01ca91be1c62761e08fb3deb3881e857.zip
[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 'include/net/route.h')
-rw-r--r--include/net/route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/route.h b/include/net/route.h
index 188b8936bb27..f7ce6259f86f 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -135,7 +135,7 @@ static inline void ip_rt_put(struct rtable * rt)
#define IPTOS_RT_MASK (IPTOS_TOS_MASK & ~3)
-extern __u8 ip_tos2prio[16];
+extern const __u8 ip_tos2prio[16];
static inline char rt_tos2priority(u8 tos)
{