inet: constify ip headers and in6_addr
[deliverable/linux.git] / net / ipv4 / xfrm4_policy.c
index d20a05e970d83fc76df80c3170515e6d06272ed9..59b1340fb3bf1584a02dddee2ee874e87c0f1202 100644 (file)
@@ -102,7 +102,7 @@ static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev,
 static void
 _decode_session4(struct sk_buff *skb, struct flowi *fl, int reverse)
 {
-       struct iphdr *iph = ip_hdr(skb);
+       const struct iphdr *iph = ip_hdr(skb);
        u8 *xprth = skb_network_header(skb) + iph->ihl * 4;
        struct flowi4 *fl4 = &fl->u.ip4;
 
This page took 0.024791 seconds and 5 git commands to generate.