diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 01:43:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 02:07:46 -0500 |
commit | 7db454b9125100877b6aa15009cf9a73c68ac755 (patch) | |
tree | 1dc0a526c5a6897b87133e13357548a99fd8e27a /net/xfrm | |
parent | f8848067caff97ce03ee9beef8b6dd5c70f7e736 (diff) |
xfrm: Const'ify ptr args to xfrm_state_ok.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-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 3a4221a71b09..f766e5fb718f 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -1933,7 +1933,7 @@ xfrm_secpath_reject(int idx, struct sk_buff *skb, const struct flowi *fl) | |||
1933 | */ | 1933 | */ |
1934 | 1934 | ||
1935 | static inline int | 1935 | static inline int |
1936 | xfrm_state_ok(struct xfrm_tmpl *tmpl, struct xfrm_state *x, | 1936 | xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x, |
1937 | unsigned short family) | 1937 | unsigned short family) |
1938 | { | 1938 | { |
1939 | if (xfrm_state_kern(x)) | 1939 | if (xfrm_state_kern(x)) |