Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/dev/pci Pullup rev 1.10 (requested by kleink in tic...
details: https://anonhg.NetBSD.org/src/rev/fdf2421ee4a1
branches: netbsd-2-0
changeset: 561101:fdf2421ee4a1
user: jmc <jmc%NetBSD.org@localhost>
date: Tue May 25 01:32:30 2004 +0000
description:
Pullup rev 1.10 (requested by kleink in ticket #384)
Fix a glitch in the initial import: The XMAC hash function is actually
based on CRC32-_LE_.
diffstat:
sys/dev/pci/if_sk.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r fab8f456080c -r fdf2421ee4a1 sys/dev/pci/if_sk.c
--- a/sys/dev/pci/if_sk.c Tue May 25 01:30:55 2004 +0000
+++ b/sys/dev/pci/if_sk.c Tue May 25 01:32:30 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sk.c,v 1.7.2.2 2004/05/25 01:15:11 jmc Exp $ */
+/* $NetBSD: if_sk.c,v 1.7.2.3 2004/05/25 01:32:30 jmc Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -575,7 +575,7 @@
{
u_int32_t crc;
- crc = ether_crc32_be(addr,ETHER_ADDR_LEN);
+ crc = ether_crc32_le(addr,ETHER_ADDR_LEN);
crc = ~crc & ((1<< SK_HASH_BITS) - 1);
DPRINTFN(2,("multicast hash for %s is %x\n",ether_sprintf(addr),crc));
return (crc);
Home |
Main Index |
Thread Index |
Old Index