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

Commit 1786b389 authored by David S. Miller's avatar David S. Miller
Browse files

xfrm: Const'ify selector arg to xfrm_dst_update_parent.

parent d3e40a9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1525,7 +1525,7 @@ xfrm_dst_alloc_copy(void **target, const void *src, int size)
}

static int inline
xfrm_dst_update_parent(struct dst_entry *dst, struct xfrm_selector *sel)
xfrm_dst_update_parent(struct dst_entry *dst, const struct xfrm_selector *sel)
{
#ifdef CONFIG_XFRM_SUB_POLICY
	struct xfrm_dst *xdst = (struct xfrm_dst *)dst;