summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller2011-02-24 06:19:59 +0100
committerDavid S. Miller2011-02-24 08:07:40 +0100
commit6cc329610f2a1698576a2a8a94dbad8f82a66363 (patch)
tree9cb5e1ed53081a4ecf644ad2cbb5db8b4db2d579
parentxfrm: Const'ify address arguments to xfrm_addr_cmp() (diff)
downloadkernel-qcow2-linux-6cc329610f2a1698576a2a8a94dbad8f82a66363.tar.gz
kernel-qcow2-linux-6cc329610f2a1698576a2a8a94dbad8f82a66363.tar.xz
kernel-qcow2-linux-6cc329610f2a1698576a2a8a94dbad8f82a66363.zip
xfrm: Const'ify address argument to xfrm_addr_any()
Signed-off-by: David S. Miller <davem@davemloft.net>
-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)
}
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: