]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
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 1c82b944803a043ebe4173176fc8d9f50ed20b2d..b60f9564fb8d36b8ac6789fc9f3364bf2df39bba 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: