diff options
Diffstat (limited to 'net/xfrm/xfrm_hash.h')
-rw-r--r-- | net/xfrm/xfrm_hash.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/xfrm/xfrm_hash.h b/net/xfrm/xfrm_hash.h index 7199d78b2aa1..716502ada53b 100644 --- a/net/xfrm/xfrm_hash.h +++ b/net/xfrm/xfrm_hash.h | |||
@@ -45,10 +45,10 @@ static inline unsigned int __xfrm_dst_hash(const xfrm_address_t *daddr, | |||
45 | return (h ^ (h >> 16)) & hmask; | 45 | return (h ^ (h >> 16)) & hmask; |
46 | } | 46 | } |
47 | 47 | ||
48 | static inline unsigned __xfrm_src_hash(const xfrm_address_t *daddr, | 48 | static inline unsigned int __xfrm_src_hash(const xfrm_address_t *daddr, |
49 | const xfrm_address_t *saddr, | 49 | const xfrm_address_t *saddr, |
50 | unsigned short family, | 50 | unsigned short family, |
51 | unsigned int hmask) | 51 | unsigned int hmask) |
52 | { | 52 | { |
53 | unsigned int h = family; | 53 | unsigned int h = family; |
54 | switch (family) { | 54 | switch (family) { |