From owner-freebsd-net@FreeBSD.ORG Mon Dec 20 14:20:12 2010 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB94F106564A for ; Mon, 20 Dec 2010 14:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9F34C8FC1D for ; Mon, 20 Dec 2010 14:20:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBKEKCTR034046 for ; Mon, 20 Dec 2010 14:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBKEKCdE034045; Mon, 20 Dec 2010 14:20:12 GMT (envelope-from gnats) Date: Mon, 20 Dec 2010 14:20:12 GMT Message-Id: <201012201420.oBKEKCdE034045@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Bernhard Schmidt Cc: Subject: Re: kern/144987: [wpi] [panic] injecting packets with wlaninject using Intel 3945ABG wireless card gives kernel panic X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bernhard Schmidt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 14:20:12 -0000 The following reply was made to PR kern/144987; it has been noted by GNATS. From: Bernhard Schmidt To: bug-followup@freebsd.org, gabrielquadros@hotmail.com Cc: Subject: Re: kern/144987: [wpi] [panic] injecting packets with wlaninject using Intel 3945ABG wireless card gives kernel panic Date: Mon, 20 Dec 2010 15:10:02 +0100 Hi, The issue here is that you've tried to use wlaninject with a VAP in sta mode. As soon as wlaninject tries to set up the interface, net80211 will start to do a scan which means constant channel switches until it finds something to associate. wlaninject itself is not aware of that and happily injects frames no matter what the current channel state is, as the above trace shows, you hit a point where no channel is set between 2 scan interations. wlaninject is supposed to be used with VAPs in ahdemo mode and wpi(4) does not support that mode. Therefore I tend to close this PR. -- Bernhard