From owner-svn-src-head@FreeBSD.ORG Tue Mar 4 06:55:54 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E10EDCA9; Tue, 4 Mar 2014 06:55:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CDC8A957; Tue, 4 Mar 2014 06:55:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s246ts47061234; Tue, 4 Mar 2014 06:55:54 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s246tsAY061233; Tue, 4 Mar 2014 06:55:54 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201403040655.s246tsAY061233@svn.freebsd.org> From: Hiroki Sato Date: Tue, 4 Mar 2014 06:55:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262728 - head/sys/dev/ffec X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 06:55:54 -0000 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); }