mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
xfrm: Const'ify ptr args to xfrm_policy_ok.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7db454b912
commit
22cccb7e03
@ -1956,7 +1956,7 @@ xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
|
||||
* Otherwise "-2 - errored_index" is returned.
|
||||
*/
|
||||
static inline int
|
||||
xfrm_policy_ok(struct xfrm_tmpl *tmpl, struct sec_path *sp, int start,
|
||||
xfrm_policy_ok(const struct xfrm_tmpl *tmpl, const struct sec_path *sp, int start,
|
||||
unsigned short family)
|
||||
{
|
||||
int idx = start;
|
||||
|
Loading…
Reference in New Issue
Block a user