Date: Sat, 6 Aug 2005 04:56:49 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net80211 ieee80211_input.c ieee80211_node.c ieee80211_node.h Message-ID: <200508060456.j764unZK053696@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2005-08-06 04:56:49 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_input.c ieee80211_node.c ieee80211_node.h Log: Fix handling of frames sent prior to a station being authorized when operating in ap mode. Previously we allocated a node from the station table, sent the frame (using the node), then released the reference that "held the frame in the table". But while the frame was in flight the node might be reclaimed which could lead to problems. The solution is to add an ieee80211_tmp_node routine that crafts a node that does exist in a table and so isn't ever reclaimed; it exists only so long as the associated frame is in flight. MFC after: 5 days Revision Changes Path 1.78 +2 -2 src/sys/net80211/ieee80211_input.c 1.60 +36 -0 src/sys/net80211/ieee80211_node.c 1.20 +2 -0 src/sys/net80211/ieee80211_node.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508060456.j764unZK053696>