[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
@@ -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,
|
||||
|
Reference in New Issue
Block a user