From owner-svn-src-head@FreeBSD.ORG Tue May 11 16:11:13 2010 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06DA81065673; Tue, 11 May 2010 16:11:13 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id CBCEE8FC1B; Tue, 11 May 2010 16:11:12 +0000 (UTC) Received: from [10.1.64.240] (216-239-44-65.google.com [216.239.44.65]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id o4BGB9pQ063845 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 11 May 2010 09:11:11 -0700 (PDT) (envelope-from sam@errno.com) Message-Id: From: Sam Leffler To: Rui Paulo In-Reply-To: <615D8823-C354-4CC7-8CC1-75BCD1791EC2@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 11 May 2010 12:11:09 -0400 References: <201005081156.o48Bu0ma006645@svn.freebsd.org> <615D8823-C354-4CC7-8CC1-75BCD1791EC2@FreeBSD.org> X-Mailer: Apple Mail (2.936) X-DCC-USENIX-Metrics: ebb.errno.com; whitelist Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Ed Maste Subject: Re: svn commit: r207768 - head/sys/dev/usb/wlan X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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, 11 May 2010 16:11:13 -0000 On May 11, 2010, at 5:12 AM, Rui Paulo wrote: > On 8 May 2010, at 12:56, Ed Maste wrote: > >> Author: emaste >> Date: Sat May 8 11:56:00 2010 >> New Revision: 207768 >> URL: http://svn.freebsd.org/changeset/base/207768 >> >> Log: >> Add dummy function for ic_update_mcast (a la if_urtw) to avoid >> console >> spam. > > I don't agree with this. I think these dummy functions should be > removed in all drivers and if the console spam is annoying it should > be limited to one message per interface. > Yes, I didn't catch the other stubs going in but already talked to Ed about this one. People need to understand that stub'ing out this function is masking a real problem. Drivers that can support mcast filtering should do so. Otherwise we need mcast filtering implemented in the 802.3 layer to support the ALLMULTI ifnet flag; in which case drivers that are incomplete can fallback on this support. In lieu of working support a better solution is to provide a stub in net80211 that ratelimits the printf but doesn't completely remove it. Sam