mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
When flushing packets from the powersave queue, make sure that
m_nextpkt is NULL before passing it up to the parent transmit method.
This commit is contained in:
parent
d52d5066e7
commit
4bd57e1078
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254236
@ -456,6 +456,7 @@ pwrsave_flushq(struct ieee80211_node *ni)
|
||||
while (parent_q != NULL) {
|
||||
m = parent_q;
|
||||
parent_q = m->m_nextpkt;
|
||||
m->m_nextpkt = NULL;
|
||||
/* must be encapsulated */
|
||||
KASSERT((m->m_flags & M_ENCAP),
|
||||
("%s: parentq with non-M_ENCAP frame!\n",
|
||||
|
Loading…
Reference in New Issue
Block a user