summaryrefslogtreecommitdiff
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-23 04:51:44 +0300
committerDavid S. Miller <davem@davemloft.net>2011-02-23 04:51:44 +0300
commit73e5ebb20f2809e2eb0b904448481e010c2599d7 (patch)
treeb41c044d23f9b488ac45d743cf1a0c9e9e90ca79 /include/net/xfrm.h
parent0c7b3eefb4ab8df245e94feb0d83c1c3450a3d87 (diff)
downloadlinux-73e5ebb20f2809e2eb0b904448481e010c2599d7.tar.xz
xfrm: Mark flowi arg to ->init_tempsel() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index c77407fdfa87..614c296c4532 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -300,7 +300,8 @@ struct xfrm_state_afinfo {
const struct xfrm_type *type_map[IPPROTO_MAX];
struct xfrm_mode *mode_map[XFRM_MODE_MAX];
int (*init_flags)(struct xfrm_state *x);
- void (*init_tempsel)(struct xfrm_selector *sel, struct flowi *fl);
+ void (*init_tempsel)(struct xfrm_selector *sel,
+ const struct flowi *fl);
void (*init_temprop)(struct xfrm_state *x, struct xfrm_tmpl *tmpl,
xfrm_address_t *daddr, xfrm_address_t *saddr);
int (*tmpl_sort)(struct xfrm_tmpl **dst, struct xfrm_tmpl **src, int n);