aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/xfrm4_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c
index 19fbdec6baaa..ef12e6830468 100644
--- a/net/ipv4/xfrm4_policy.c
+++ b/net/ipv4/xfrm4_policy.c
@@ -56,7 +56,7 @@ static int xfrm4_get_saddr(struct net *net,
56 return 0; 56 return 0;
57} 57}
58 58
59static int xfrm4_get_tos(struct flowi *fl) 59static int xfrm4_get_tos(const struct flowi *fl)
60{ 60{
61 return IPTOS_RT_MASK & fl->fl4_tos; /* Strip ECN bits */ 61 return IPTOS_RT_MASK & fl->fl4_tos; /* Strip ECN bits */
62} 62}