summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-28 03:49:35 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-29 03:02:44 +0200
commit8122adf06e6f93ae608cf8227e878cc44f4a8fd1 (patch)
treeb83ddb821f85c015e5414817c3d6a1f42a35630c /net/xfrm/xfrm_state.c
parent[XFRM]: fl_ipsec_spi is net-endian (diff)
downloadlinux-8122adf06e6f93ae608cf8227e878cc44f4a8fd1.tar.xz
linux-8122adf06e6f93ae608cf8227e878cc44f4a8fd1.zip
[XFRM]: xfrm_spi_hash() annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_state.c')
-rw-r--r--net/xfrm/xfrm_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 25657f57fbb0..fafe1ed5f56b 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -70,7 +70,7 @@ static inline unsigned int xfrm_src_hash(xfrm_address_t *addr,
}
static inline unsigned int
-xfrm_spi_hash(xfrm_address_t *daddr, u32 spi, u8 proto, unsigned short family)
+xfrm_spi_hash(xfrm_address_t *daddr, __be32 spi, u8 proto, unsigned short family)
{
return __xfrm_spi_hash(daddr, spi, proto, family, xfrm_state_hmask);
}