提交 1786b389 编写于 作者: D David S. Miller

xfrm: Const'ify selector arg to xfrm_dst_update_parent.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d3e40a9f
...@@ -1525,7 +1525,7 @@ xfrm_dst_alloc_copy(void **target, const void *src, int size) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册