Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2014 06:55:54 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262728 - head/sys/dev/ffec
Message-ID:  <201403040655.s246tsAY061233@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403040655.s246tsAY061233>