Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151275585
D50638.id156393.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
507 B
Referenced Files
None
Subscribers
None
D50638.id156393.diff
View Options
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,9 @@
/*
* 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)
+ m_adj(m, -tkip.ic_trailer);
+ else if (rxs != NULL && (rxs->c_pktflags & IEEE80211_RX_F_ICV_STRIP) == 0)
m_adj(m, -tkip.ic_trailer);
return 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 6:40 AM (7 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31083150
Default Alt Text
D50638.id156393.diff (507 B)
Attached To
Mode
D50638: net80211: fix TKIP trailer trimming w/ no rx parameters given
Attached
Detach File
Event Timeline
Log In to Comment