diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-22 21:13:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 21:13:15 -0500 |
commit | e33f770426674a565a188042caf3f974f8b3722d (patch) | |
tree | 6ee309a1cbccec1cef9972fc6c8f8d9b280978f5 /security/security.c | |
parent | e1ad2ab2cf0cabcd81861e2c61870fc27bb27ded (diff) |
xfrm: Mark flowi arg to security_xfrm_state_pol_flow_match() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c index 7b7308ace8c5..8ef1f7dff277 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -1233,7 +1233,8 @@ int security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) | |||
1233 | } | 1233 | } |
1234 | 1234 | ||
1235 | int security_xfrm_state_pol_flow_match(struct xfrm_state *x, | 1235 | int security_xfrm_state_pol_flow_match(struct xfrm_state *x, |
1236 | struct xfrm_policy *xp, struct flowi *fl) | 1236 | struct xfrm_policy *xp, |
1237 | const struct flowi *fl) | ||
1237 | { | 1238 | { |
1238 | return security_ops->xfrm_state_pol_flow_match(x, xp, fl); | 1239 | return security_ops->xfrm_state_pol_flow_match(x, xp, fl); |
1239 | } | 1240 | } |