Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22cccb7e authored by David S. Miller's avatar David S. Miller
Browse files

xfrm: Const'ify ptr args to xfrm_policy_ok.

parent 7db454b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;