summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-23 03:24:19 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-23 03:24:19 +0100
commitb520e9f616f4f29c8d2557ba704b74ce6d79ff07 (patch)
tree6d423a4be60b1c1a54cc5546843336b9f1c858c7 /net/xfrm
parentxfrm: Mark flowi arg to xfrm_init_tempstate() const. (diff)
downloadlinux-b520e9f616f4f29c8d2557ba704b74ce6d79ff07.tar.xz
linux-b520e9f616f4f29c8d2557ba704b74ce6d79ff07.zip
xfrm: Mark flowi arg to xfrm_state_find() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 674f2780cedd..30a0f178819c 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -785,7 +785,7 @@ static void xfrm_state_look_at(struct xfrm_policy *pol, struct xfrm_state *x,
struct xfrm_state *
xfrm_state_find(xfrm_address_t *daddr, xfrm_address_t *saddr,
- struct flowi *fl, struct xfrm_tmpl *tmpl,
+ const struct flowi *fl, struct xfrm_tmpl *tmpl,
struct xfrm_policy *pol, int *err,
unsigned short family)
{