Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2006 07:36:24 GMT
From:      Andrey Sverdlichenko <blaze@ruddy.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/95462: Memory leak in ieee 802.11 stack
Message-ID:  <200604070736.k377aOtq021888@www.freebsd.org>
Resent-Message-ID: <200604070740.k377eHYi096010@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95462
>Category:       kern
>Synopsis:       Memory leak in ieee 802.11 stack
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 07 07:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Sverdlichenko
>Release:        6.0-RELEASE
>Organization:
>Environment:
FreeBSD toaster.infosec.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
In hostap mode after a some time (12-24 hours under heavy traffic) memory use by IEEE 802.11 node table grows up and network stops: no traffic passing, clients can't connect. It does not depend on WEP, WPA or open network mode.

%vmstat -m | grep 80211
    80211node  7919  7919K       -    13960  512,1024

%ifconfig
ath0: flags=8d43<UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::215:e9ff:fe42:4888%ath0 prefixlen 64 scopeid 0x1 
        ether 00:15:e9:42:48:88
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: associated
        ssid toaster-wep channel 2 bssid 00:15:e9:42:48:88
        authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpowmax 36
        protmode CTS dtimperiod 1 bintval 100
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet6 fe80::2d0:68ff:fe08:2cec%rl0 prefixlen 64 scopeid 0x3 
        inet 10.2.0.71 netmask 0xffff0000 broadcast 10.2.255.255
        ether 00:d0:68:08:2c:ec
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
        inet 127.0.0.1 netmask 0xff000000 
bridge0: flags=8041<UP,RUNNING,MULTICAST> mtu 1500
        ether ac:de:48:fe:b7:e0
        priority 32768 hellotime 2 fwddelay 15 maxage 20
        member: ath0 flags=3<LEARNING,DISCOVER>
        member: rl0 flags=3<LEARNING,DISCOVER>

%dmesg | grep ath0
ath0: <Atheros 5212> mem 0xf8000000-0xf800ffff irq 16 at device 0.0 on pci1
ath0: Ethernet address: 00:15:e9:42:48:88
ath0: mac 7.9 phy 4.5 radio 5.6


There are also about 30 "ath0: device timeout" records in dmesg.
>How-To-Repeat:
Set up hostap and push some traffic on it.
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604070736.k377aOtq021888>