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

xfrm: Pass const xfrm_mark to xfrm_mark_put().

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a70486f0
......@@ -1611,7 +1611,7 @@ static inline int xfrm_mark_get(struct nlattr **attrs, struct xfrm_mark *m)
return m->v & m->m;
}
static inline int xfrm_mark_put(struct sk_buff *skb, struct xfrm_mark *m)
static inline int xfrm_mark_put(struct sk_buff *skb, const struct xfrm_mark *m)
{
if (m->m | m->v)
NLA_PUT(skb, XFRMA_MARK, sizeof(struct xfrm_mark), m);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册