summaryrefslogtreecommitdiff
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-24 00:19:59 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-23 23:07:40 -0800
commit6cc329610f2a1698576a2a8a94dbad8f82a66363 (patch)
tree9cb5e1ed53081a4ecf644ad2cbb5db8b4db2d579 /include/net/xfrm.h
parentff6acd16825d59de3964b036183a5d214213b9a6 (diff)
xfrm: Const'ify address argument to xfrm_addr_any()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-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 1c82b944803..b60f9564fb8 100644
--- 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: