freebsd-dev/sys
Andriy Voskoboinyk bcabc90835 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:	https://reviews.freebsd.org/D13161
2017-12-30 00:40:34 +00:00
..
amd64 kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
arm Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
arm64 Introduce an architecture-agnostic <sys/_stdarg.h> to reduce 2017-12-25 20:54:00 +00:00
bsm sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
cam ctl: Correct comment in ctl_worker_thread 2017-12-27 15:39:31 +00:00
cddl Remove obsolete register keyword from opensolaris's sysmacros.h. When 2017-12-24 19:17:15 +00:00
compat Update Matthew Macy contact info 2017-12-19 17:59:00 +00:00
conf Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
contrib MFC: r326864 2017-12-14 23:21:31 +00:00
crypto sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ddb ddb: fix validation of cpu id in 'set db_cpu=x' 2017-12-05 14:22:08 +00:00
dev Add AHCI/XHCI device IDs found on AMD 1950X+X399 system 2017-12-29 22:24:41 +00:00
dts dts: arm: Remove imx6 related dts 2017-12-04 13:28:56 +00:00
fs Reuse kern_proc_vmmap_resident() for procfs_map resident count. 2017-12-28 13:23:13 +00:00
gdb sys/gdb: further adoption of SPDX licensing ID tags. 2017-11-27 15:16:59 +00:00
geom Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
gnu Introduce bwn(4) support for the bhnd(4) bus. 2017-12-02 02:21:27 +00:00
i386 Remove a few more dangling references to ie(4). 2017-12-28 21:35:53 +00:00
isa Warn when nonPNP ISA devices are attached in GENERIC that they are 2017-12-23 22:57:14 +00:00
kern Make kern_proc_vmmap_resident() externally accesible, and move the 2017-12-28 13:16:32 +00:00
kgssapi sys/kgssapi: general adoption of SPDX licensing ID tags. 2017-11-27 15:49:00 +00:00
libkern SPDX: fix wrong license ID tag in libkern. 2017-12-28 01:20:30 +00:00
mips kernel: Fix several typos and minor errors 2017-12-27 03:23:21 +00:00
modules ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
net Don't pass rids to taskqgroup_attach() 2017-12-27 20:42:30 +00:00
net80211 net80211: sanitize input for ieee80211_output() 2017-12-30 00:40:34 +00:00
netgraph sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
netinet Correct the comment describing badrs which is bad router solicitiation, 2017-12-29 07:23:18 +00:00
netinet6 Fix some typos. 2017-12-28 20:40:56 +00:00
netipsec Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
netpfil SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
netsmb sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfs Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nfsclient sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
ofed sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
opencrypto Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
powerpc Enhance the CHRP/pSeries platform layer: 2017-12-29 21:09:17 +00:00
riscv Add atomic_load(9) and atomic_store(9) operations. 2017-12-19 09:59:20 +00:00
rpc Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
security Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
sparc64 sparc64: Update idprom.h. 2017-12-27 22:01:30 +00:00
sys sys/sys/chio.h: add NetBSD RCS ID. 2017-12-28 14:26:33 +00:00
teken sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
tests style(9): sort headers 2017-05-09 05:08:47 +00:00
tools embed_mfs: support embedding mfs into loader 2017-12-19 19:44:06 +00:00
ufs SPDX: Complete License ID tags for UFS. 2017-12-27 19:13:50 +00:00
vm Do not lock vm map in swapout_procs(). 2017-12-29 20:33:56 +00:00
x86 With the advent of interrupt remapping, Intel has repurposed bit 11 2017-12-28 21:46:09 +00:00
xdr sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
xen sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
Makefile Move sys/boot to stand. Fix all references to new location 2017-11-14 23:02:19 +00:00