aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/xfrm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 437c289649ca..efded23dc4ae 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)
1611 return m->v & m->m; 1611 return m->v & m->m;
1612} 1612}
1613 1613
1614static inline int xfrm_mark_put(struct sk_buff *skb, struct xfrm_mark *m) 1614static inline int xfrm_mark_put(struct sk_buff *skb, const struct xfrm_mark *m)
1615{ 1615{
1616 if (m->m | m->v) 1616 if (m->m | m->v)
1617 NLA_PUT(skb, XFRMA_MARK, sizeof(struct xfrm_mark), m); 1617 NLA_PUT(skb, XFRMA_MARK, sizeof(struct xfrm_mark), m);