Page MenuHomeFreeBSD

D50638.1781254248.diff
No OneTemporary

Size
454 B
Referenced Files
None
Subscribers
None

D50638.1781254248.diff

diff --git a/sys/net80211/ieee80211_crypto_tkip.c b/sys/net80211/ieee80211_crypto_tkip.c
--- a/sys/net80211/ieee80211_crypto_tkip.c
+++ b/sys/net80211/ieee80211_crypto_tkip.c
@@ -370,7 +370,7 @@
/*
* Strip the ICV if hardware has not done so already.
*/
- if (rxs != NULL && (rxs->c_pktflags & IEEE80211_RX_F_ICV_STRIP) == 0)
+ if ((rxs == NULL) || (rxs->c_pktflags & IEEE80211_RX_F_ICV_STRIP) == 0)
m_adj(m, -tkip.ic_trailer);
return 1;

File Metadata

Mime Type
text/plain
Expires
Fri, Jun 12, 8:50 AM (14 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28880472
Default Alt Text
D50638.1781254248.diff (454 B)

Event Timeline