SVNews r327371

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-30 00:40:34 - r327371 by avos (avos)

Complete list of files affected by revision r327371:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/net80211/ieee80211_output.c  

Commit message:

net80211: sanitize input for ieee80211_output()

- Add some basic checks for i_fc* bits (ToDS, FromDS, MoreFrag, Protected);
those are used / checked across various places in Tx path.
- Mark injected 802.11 frame as encapsulated (just as it should be).
- Classify 802.11 frame in a proper way (extract ether_type from LLC header
for Data frames, use AC_BE queue for others (NoData / Management / Control).
- Subtract header length from tx_bytes statistics (so it will correspond
to the comment).

Was checked with RTL8188EU (AP) + Intel 6205 (STA).

Reviewed by: adrian
Differential Revision:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 38 ms, 1 file printed. Current time is 2018-03-19 12:25:38. All times are in UTC/GMT.