From nobody@FreeBSD.org  Mon May  6 22:04:46 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 1BCC959C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 May 2013 22:04:46 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 0DEFFA68
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  6 May 2013 22:04:46 +0000 (UTC)
Received: from oldred.FreeBSD.org ([127.0.1.6])
	by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r46M4jSW075263
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 6 May 2013 22:04:45 GMT
	(envelope-from nobody@oldred.FreeBSD.org)
Received: (from nobody@localhost)
	by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r46M4j3v075262;
	Mon, 6 May 2013 22:04:45 GMT
	(envelope-from nobody)
Message-Id: <201305062204.r46M4j3v075262@oldred.FreeBSD.org>
Date: Mon, 6 May 2013 22:04:45 GMT
From: adrian chadd <adrian@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [net80211] [ath] WPA rekey on the STA side fails when transmitting lots of UDP traffic
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         178379
>Category:       kern
>Synopsis:       [net80211] [ath] WPA rekey on the STA side fails when transmitting lots of UDP traffic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 06 22:10:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Tue May 07 01:38:14 UTC 2013
>Originator:     adrian chadd
>Release:        
>Organization:
>Environment:
>Description:
When UDP iperf transmit is going on, a WPA group rekey fails and the AP ditches the station.

What's going on:

* FreeBSD AP -> FreeBSD STA (both ath)
* AP sends a WPA rekey EAPOL message to the STA
* STA updates the key, sends an EAPOL message back
* AP doesn't get it, so it eventually disconnects the station.

What's breaking:

* The STA gets the EAPOL group rekey frame
* the STA updates the keycache entry
* The STA sends the EAPOL response
* .. but it doesn't actually send the frame, it gets dropped by ath_start() because the buffers are all allocated.

I'll dig into it some more.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue May 7 01:38:02 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=178379 
>Unformatted:
