summaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-24 06:19:13 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-24 08:07:39 +0100
commitff6acd16825d59de3964b036183a5d214213b9a6 (patch)
treef77ade3bbcfeaf3470c1395f9d5a0d49c9330145 /include/net/xfrm.h
parentxfrm: Const'ify address arguments to __xfrm_dst_lookup() (diff)
downloadlinux-ff6acd16825d59de3964b036183a5d214213b9a6.tar.xz
linux-ff6acd16825d59de3964b036183a5d214213b9a6.zip
xfrm: Const'ify address arguments to xfrm_addr_cmp()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r--include/net/xfrm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 18f115a6fb19..1c82b944803a 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1520,7 +1520,8 @@ struct scatterlist;
typedef int (icv_update_fn_t)(struct hash_desc *, struct scatterlist *,
unsigned int);
-static inline int xfrm_addr_cmp(xfrm_address_t *a, xfrm_address_t *b,
+static inline int xfrm_addr_cmp(const xfrm_address_t *a,
+ const xfrm_address_t *b,
int family)
{
switch (family) {