svn commit: r262728 - head/sys/dev/ffec
Hiroki Sato
hrs at FreeBSD.org
Tue Mar 4 06:55:54 UTC 2014
Author: hrs
Date: Tue Mar 4 06:55:54 2014
New Revision: 262728
URL: http://svnweb.freebsd.org/changeset/base/262728
Log:
Fix multicast filtering.
Submitted by: Takanori Sawada
PR: arm/187179
Modified:
head/sys/dev/ffec/if_ffec.c
Modified: head/sys/dev/ffec/if_ffec.c
==============================================================================
--- head/sys/dev/ffec/if_ffec.c Tue Mar 4 05:09:46 2014 (r262727)
+++ head/sys/dev/ffec/if_ffec.c Tue Mar 4 06:55:54 2014 (r262728)
@@ -961,7 +961,7 @@ ffec_setup_rxfilter(struct ffec_softc *s
continue;
crc = ether_crc32_be(LLADDR((struct sockaddr_dl *)
ifma->ifma_addr), ETHER_ADDR_LEN);
- ghash |= 1 << (crc & 0x3f);
+ ghash |= 1LLU << (crc & 0x3f);
}
if_maddr_runlock(ifp);
}
More information about the svn-src-all
mailing list