aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
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/ipv6
parent73e5ebb20f2809e2eb0b904448481e010c2599d7 (diff)
downloadkernel_samsung_smdk4412-8f029de281b26ec9fd5cd77294db1d35d9876f1a.zip
kernel_samsung_smdk4412-8f029de281b26ec9fd5cd77294db1d35d9876f1a.tar.gz
kernel_samsung_smdk4412-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/ipv6')
-rw-r--r--net/ipv6/mip6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/mip6.c b/net/ipv6/mip6.c
index d6e9599..f3e3ca9 100644
--- a/net/ipv6/mip6.c
+++ b/net/ipv6/mip6.c
@@ -203,7 +203,8 @@ static inline int mip6_report_rl_allow(struct timeval *stamp,
return allow;
}
-static int mip6_destopt_reject(struct xfrm_state *x, struct sk_buff *skb, struct flowi *fl)
+static int mip6_destopt_reject(struct xfrm_state *x, struct sk_buff *skb,
+ const struct flowi *fl)
{
struct net *net = xs_net(x);
struct inet6_skb_parm *opt = (struct inet6_skb_parm *)skb->cb;