[IPV4]: Make ip_tos2prio const.
Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6b25d30bf1
commit
4839c52b01
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user