projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a70486f
)
xfrm: Pass const xfrm_mark to xfrm_mark_put().
author
David S. Miller
<davem@davemloft.net>
Mon, 28 Feb 2011 07:20:19 +0000
(23:20 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Feb 2011 07:20:19 +0000
(23:20 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
patch
|
blob
|
history
diff --git
a/include/net/xfrm.h
b/include/net/xfrm.h
index
437c289
..
efded23
100644
(file)
--- 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);