diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 00:19:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-23 23:07:39 -0800 |
commit | ff6acd16825d59de3964b036183a5d214213b9a6 (patch) | |
tree | f77ade3bbcfeaf3470c1395f9d5a0d49c9330145 /include/net/xfrm.h | |
parent | 6418c4e07991a7b405d86bd4579c670b50fec99d (diff) | |
download | linux-3.10-ff6acd16825d59de3964b036183a5d214213b9a6.tar.gz linux-3.10-ff6acd16825d59de3964b036183a5d214213b9a6.tar.bz2 linux-3.10-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 18f115a6fb1..1c82b944803 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) { |