diff options
-rw-r--r-- | net/unix/af_unix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 3ca7927520b0..94d334781554 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -160,9 +160,8 @@ static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) | |||
160 | 160 | ||
161 | static inline unsigned int unix_hash_fold(__wsum n) | 161 | static inline unsigned int unix_hash_fold(__wsum n) |
162 | { | 162 | { |
163 | unsigned int hash = (__force unsigned int)n; | 163 | unsigned int hash = (__force unsigned int)csum_fold(n); |
164 | 164 | ||
165 | hash ^= hash>>16; | ||
166 | hash ^= hash>>8; | 165 | hash ^= hash>>8; |
167 | return hash&(UNIX_HASH_SIZE-1); | 166 | return hash&(UNIX_HASH_SIZE-1); |
168 | } | 167 | } |