From owner-freebsd-net@FreeBSD.ORG Tue Dec 28 09:17:12 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49600106567A for ; Tue, 28 Dec 2010 09:17:12 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id 8CCDA8FC12 for ; Tue, 28 Dec 2010 09:17:11 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id oBS9H904004076; Tue, 28 Dec 2010 15:17:09 +0600 (NOVT) (envelope-from egrosbein@rdtc.ru) Message-ID: <4D19AB10.4030803@rdtc.ru> Date: Tue, 28 Dec 2010 15:17:04 +0600 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.1.10) Gecko/20100712 Thunderbird/3.0.5 MIME-Version: 1.0 To: Bernhard Schmidt References: <201012272024.37110.bschmidt@freebsd.org> In-Reply-To: <201012272024.37110.bschmidt@freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: CFT/CFR, possible fix for ifconfig scan hang X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2010 09:17:12 -0000 On 28.12.2010 01:24, Bernhard Schmidt wrote: > I have a patch available which addresses both of the issues. It requests a > background scan by default and also honors the return value of > start_scan_locked(): > - for head > http://techwires.net/~bschmidt/scan_hang_head.diff > - for 8-stable/8.2-*: > http://techwires.net/~bschmidt/scan_hang_stable.diff > > Please test and let me know if it works, or not. I'll try today evening with my urtw(4)/RELENG_8 where ifconfig wlan0 scan hangs forever 100% of time. Eugene Grosbein