projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/include/net/xfrm.h
b/include/net/xfrm.h
index 1c82b944803a043ebe4173176fc8d9f50ed20b2d..b60f9564fb8d36b8ac6789fc9f3364bf2df39bba 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: