projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff6acd1
)
xfrm: Const'ify address argument to xfrm_addr_any()
author
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 05:19:59 +0000
(
00:19
-0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Feb 2011 07:07:40 +0000
(23:07 -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
1c82b94
..
b60f956
100644
(file)
--- a/
include/net/xfrm.h
+++ b/
include/net/xfrm.h
@@
-954,7
+954,7
@@
secpath_reset(struct sk_buff *skb)
}
static inline int
-xfrm_addr_any(xfrm_address_t *addr, unsigned short family)
+xfrm_addr_any(
const
xfrm_address_t *addr, unsigned short family)
{
switch (family) {
case AF_INET: