aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2013-06-26 17:56:58 -0400
committerSteffen Klassert <steffen.klassert@secunet.com>2013-08-05 05:13:53 -0400
commite473fcb472574de978e47f980aeca510020a1286 (patch)
tree3ff2448d30ed7aee77d04258d032712a09b37f8e /include
parent5ca5461c3ee8b306c04ac833e5eacb5755b85d88 (diff)
xfrm: constify mark argument of xfrm_find_acq()
The mark argument is read only, so constify it. Also make dummy_mark in af_key const -- only used as dummy argument for this very function. Signed-off-by: Mathias Krause <minipli@googlemail.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/xfrm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 94ce082b29dc..89d3d8ae204e 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1548,7 +1548,7 @@ struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8, int dir, u32
1548int xfrm_policy_flush(struct net *net, u8 type, struct xfrm_audit *audit_info); 1548int xfrm_policy_flush(struct net *net, u8 type, struct xfrm_audit *audit_info);
1549u32 xfrm_get_acqseq(void); 1549u32 xfrm_get_acqseq(void);
1550extern int xfrm_alloc_spi(struct xfrm_state *x, u32 minspi, u32 maxspi); 1550extern int xfrm_alloc_spi(struct xfrm_state *x, u32 minspi, u32 maxspi);
1551struct xfrm_state *xfrm_find_acq(struct net *net, struct xfrm_mark *mark, 1551struct xfrm_state *xfrm_find_acq(struct net *net, const struct xfrm_mark *mark,
1552 u8 mode, u32 reqid, u8 proto, 1552 u8 mode, u32 reqid, u8 proto,
1553 const xfrm_address_t *daddr, 1553 const xfrm_address_t *daddr,
1554 const xfrm_address_t *saddr, int create, 1554 const xfrm_address_t *saddr, int create,