aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-27 23:20:19 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-27 23:20:19 -0800
commite3dfa389fd2c79526b4bbf295726b66d21001664 (patch)
tree003575ae5e6c28c68b57e45629950f07f6e5d8ca /include
parenta70486f0e669730bad6713063e3f59e2e870044f (diff)
downloadkernel_samsung_tuna-e3dfa389fd2c79526b4bbf295726b66d21001664.zip
kernel_samsung_tuna-e3dfa389fd2c79526b4bbf295726b66d21001664.tar.gz
kernel_samsung_tuna-e3dfa389fd2c79526b4bbf295726b66d21001664.tar.bz2
xfrm: Pass const xfrm_mark to xfrm_mark_put().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 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);