From: David S. Miller Date: Mon, 28 Feb 2011 07:20:19 +0000 (-0800) Subject: xfrm: Pass const xfrm_mark to xfrm_mark_put(). X-Git-Tag: v2.6.39-rc1~468^2~214 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3dfa389fd2c79526b4bbf295726b66d21001664;p=platform%2Fkernel%2Flinux-stable.git xfrm: Pass const xfrm_mark to xfrm_mark_put(). Signed-off-by: David S. Miller --- diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 437c289..efded23 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -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);