aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/vxlan.c')
-rw-r--r--drivers/net/vxlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 92150c0cf4d9..882a041d7594 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -228,9 +228,9 @@ static u32 eth_hash(const unsigned char *addr)
228 228
229 /* only want 6 bytes */ 229 /* only want 6 bytes */
230#ifdef __BIG_ENDIAN 230#ifdef __BIG_ENDIAN
231 value <<= 16;
232#else
233 value >>= 16; 231 value >>= 16;
232#else
233 value <<= 16;
234#endif 234#endif
235 return hash_64(value, FDB_HASH_BITS); 235 return hash_64(value, FDB_HASH_BITS);
236} 236}