xfrm: Const'ify address argument to xfrm_addr_any()
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Feb 2011 05:19:59 +0000 (00:19 -0500)
committerDavid 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

index 1c82b94..b60f956 100644 (file)
@@ -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: