mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
xfrm: Const'ify selector arg to xfrm_dst_update_parent.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d3e40a9f5e
commit
1786b3891c
1 changed files with 1 additions and 1 deletions
|
@ -1525,7 +1525,7 @@ xfrm_dst_alloc_copy(void **target, const void *src, int size)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int inline
|
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
|
#ifdef CONFIG_XFRM_SUB_POLICY
|
||||||
struct xfrm_dst *xdst = (struct xfrm_dst *)dst;
|
struct xfrm_dst *xdst = (struct xfrm_dst *)dst;
|
||||||
|
|
Loading…
Reference in a new issue