net: use skb_sec_path helper in more places
[linux-2.6-block.git] / include / linux / skbuff.h
index 70ac58240ec0eaeffa37f5b1d3e31e2c04ed0f2a..d0f254a016bf09ea6d06285b93d50e82e9f219f0 100644 (file)
@@ -4124,7 +4124,7 @@ static inline bool skb_get_dst_pending_confirm(const struct sk_buff *skb)
        return skb->dst_pending_confirm != 0;
 }
 
-static inline struct sec_path *skb_sec_path(struct sk_buff *skb)
+static inline struct sec_path *skb_sec_path(const struct sk_buff *skb)
 {
 #ifdef CONFIG_XFRM
        return skb->sp;