mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
[net80211] don't try to follow a NULL rxs pointer down the sink.
It's smelly, and we already checked earlier whether we needed to.
This commit is contained in:
parent
565312d184
commit
79caf56e97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324580
@ -278,7 +278,7 @@ ieee80211_check_rxseq(struct ieee80211_node *ni, struct ieee80211_frame *wh,
|
||||
*/
|
||||
if (ieee80211_check_rxseq_amsdu_more(rxs)) {
|
||||
ni->ni_rxseqs[tid] = rxseq;
|
||||
if (ieee80211_check_rxseq_amsdu(rxs))
|
||||
if ((rxs != NULL) && ieee80211_check_rxseq_amsdu(rxs))
|
||||
IEEE80211_NODE_STAT(ni, rx_amsdu_more_end);
|
||||
} else {
|
||||
/* .. still waiting */
|
||||
|
Loading…
Reference in New Issue
Block a user