diff options
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 2de0bc233d44..41a91d27d3ea 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -1994,7 +1994,7 @@ int __xfrm_decode_session(struct sk_buff *skb, struct flowi *fl, | |||
1994 | } | 1994 | } |
1995 | EXPORT_SYMBOL(__xfrm_decode_session); | 1995 | EXPORT_SYMBOL(__xfrm_decode_session); |
1996 | 1996 | ||
1997 | static inline int secpath_has_nontransport(struct sec_path *sp, int k, int *idxp) | 1997 | static inline int secpath_has_nontransport(const struct sec_path *sp, int k, int *idxp) |
1998 | { | 1998 | { |
1999 | for (; k < sp->len; k++) { | 1999 | for (; k < sp->len; k++) { |
2000 | if (sp->xvec[k]->props.mode != XFRM_MODE_TRANSPORT) { | 2000 | if (sp->xvec[k]->props.mode != XFRM_MODE_TRANSPORT) { |