aboutsummaryrefslogtreecommitdiffstats
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-24 02:07:40 -0500
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 1c82b944803a..b60f9564fb8d 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -954,7 +954,7 @@ secpath_reset(struct sk_buff *skb)
954} 954}
955 955
956static inline int 956static inline int
957xfrm_addr_any(xfrm_address_t *addr, unsigned short family) 957xfrm_addr_any(const xfrm_address_t *addr, unsigned short family)
958{ 958{
959 switch (family) { 959 switch (family) {
960 case AF_INET: 960 case AF_INET: