Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2013 21:23:28 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-wireless@freebsd.org
Subject:   ath as AP panics
Message-ID:  <238348209.20130812212328@serebryakov.spb.ru>

next in thread | raw e-mail | index | archive | help
Hello, Freebsd-wireless.

 r254238 with ath used as AP panics in fragment processing. This patch from
 adrian:

Index: ieee80211_output.c
===================================================================
--- ieee80211_output.c  (revision 254224)
+++ ieee80211_output.c  (working copy)
@@ -458,6 +458,16 @@
        m->m_flags &= ~(M_80211_TX - M_PWR_SAV - M_MORE_DATA);

        /*
+        * Complain if m->m_nextpkt is set.
+        *
+        * The caller should've pulled this apart for us.
+        */
+       if (m->m_nextpkt != NULL) {
+               printf("%s: m_nextpkt not NULL?!\n", __func__);
+               m->m_nextpkt = NULL;
+       }
+
+       /*
         * Bump to the packet transmission path.
         * The mbuf will be consumed here.
         */


 replaces panic with lot of debug output and looks like not a solution, but
dirty hack. Now I'm trying r254250 with this patch, but it looks like it
should be same as r254238, as nothing 802.11-related was changed in-between.

-- 
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




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