summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-22 17:59:59 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-22 17:59:59 -0800
commit8f029de281b26ec9fd5cd77294db1d35d9876f1a (patch)
tree221eca1314cf4a9920b06143b4d08d370ea63b19 /net/xfrm
parent73e5ebb20f2809e2eb0b904448481e010c2599d7 (diff)
downloadlinux-8f029de281b26ec9fd5cd77294db1d35d9876f1a.tar.bz2
xfrm: Mark flowi arg to xfrm_type->reject() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index fa0b7f33874b..ccd47cf1765c 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1907,7 +1907,7 @@ int xfrm_lookup(struct net *net, struct dst_entry **dst_p, struct flowi *fl,
EXPORT_SYMBOL(xfrm_lookup);
static inline int
-xfrm_secpath_reject(int idx, struct sk_buff *skb, struct flowi *fl)
+xfrm_secpath_reject(int idx, struct sk_buff *skb, const struct flowi *fl)
{
struct xfrm_state *x;