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

Commit 7db454b9 authored by David S. Miller's avatar David S. Miller
Browse files

xfrm: Const'ify ptr args to xfrm_state_ok.

parent f8848067
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1933,7 +1933,7 @@ xfrm_secpath_reject(int idx, struct sk_buff *skb, const struct flowi *fl)
 */

static inline int
xfrm_state_ok(struct xfrm_tmpl *tmpl, struct xfrm_state *x,
xfrm_state_ok(const struct xfrm_tmpl *tmpl, const struct xfrm_state *x,
	      unsigned short family)
{
	if (xfrm_state_kern(x))