freebsd-nq/sys
Andriy Voskoboinyk 74bdb73190 net80211: reduce stack usage for ieee80211_ioctl*() methods.
Use malloc(9) for
 - struct ieee80211req_wpaie2 (518 bytes, used in
ieee80211_ioctl_getwpaie())
 - struct ieee80211_scan_req (128 bytes, used in setmlme_assoc_adhoc()
and ieee80211_ioctl_scanreq())

Also, drop __noinline workarounds; stack overflow is not reproducible
with recent compilers.

Tested with Clang 3.7.1, GCC 4.2.1 (from 9.3-RELEASE) and 4.9.4
(with -fstack-usage flag)

Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D5041
2016-01-24 23:35:20 +00:00
..
amd64 Remove obsolete comment. 2016-01-23 08:08:06 +00:00
arm Remove an extra newline that crept in. 2016-01-24 19:12:16 +00:00
arm64 Stop including fdt_common.h in the arm64 code. We don't use anything from 2016-01-22 16:35:01 +00:00
boot Use MAN= to specify that no man page is provided 2016-01-22 21:33:27 +00:00
bsm Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4: 2015-12-20 23:22:04 +00:00
cam Hide "soconnect() error" messages under bootverbose. 2016-01-22 09:32:19 +00:00
cddl Fix ru_oublocks accounting for ZFS. There are two code paths that can be 2016-01-23 12:13:09 +00:00
compat Implement 64-bit atomic operations for the LinuxKPI. 2016-01-21 17:56:23 +00:00
conf Add reset framework, a second part of new 'extended resources' family of 2016-01-24 11:03:35 +00:00
contrib Fix order of last two arguments of mtx_init 2016-01-14 20:25:22 +00:00
crypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
ddb Add helper to catch single step debug event and distinguish it from bkpt 2015-11-27 19:03:59 +00:00
dev Fix the style of the reading of a nodes xref to make it readable. 2016-01-24 17:09:11 +00:00
fs ext2fs: passthrough any extra timestamps to the dinode struct. 2016-01-24 23:24:47 +00:00
gdb
geom Teach the flashmap code about the SPI flash. 2016-01-23 05:26:29 +00:00
gnu
i386 Adjust i386 comment to match amd64 one after r294311. 2016-01-19 08:09:09 +00:00
isa
kern In tty_dealloc(), clear the queues. See the comment for a scenario 2016-01-22 20:38:46 +00:00
kgssapi Unset the gss kernel state when gssd exits 2016-01-01 17:06:16 +00:00
libkern libkern: ffs, fls: s/4/3/ the 3rd BSD clause 2015-10-22 21:04:47 +00:00
mips Stop calling fdt_immr_addr from the xlp startup code. It's used to set 2016-01-22 12:00:56 +00:00
modules ext2fs: Bring back the htree dir_index implementation. 2016-01-21 14:50:28 +00:00
net Add an IOCTL rr_limit to let users fine tuning the number of packets to be 2016-01-23 04:18:44 +00:00
net80211 net80211: reduce stack usage for ieee80211_ioctl*() methods. 2016-01-24 23:35:20 +00:00
netgraph Make ng_netflow(9) use new routing KPI. 2016-01-14 13:14:12 +00:00
netinet Provide new socket option TCP_CCALGOOPT, which stands for TCP congestion 2016-01-22 02:07:48 +00:00
netinet6 Fix rte refcount leak in ip6_forward(). 2016-01-20 11:25:30 +00:00
netipsec Overhaul if_enc(4) and make it loadable in run-time. 2015-11-25 07:31:59 +00:00
netnatm
netpfil Fix panic on table/table entry delete. The panic could have happened 2016-01-21 18:20:40 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs Add kernel support to the NFS server for the "-manage-gids" 2015-11-30 21:54:27 +00:00
nfsclient
nfsserver
nlm
ofed Fix for iWARP servers that listen on INADDR_ANY. 2016-01-22 23:33:34 +00:00
opencrypto Break up opencrypto/xform.c so it can be reused piecemeal 2015-12-30 22:43:07 +00:00
pc98 Add asynchronous command support to the pass(4) driver, and the new 2015-12-03 20:54:55 +00:00
powerpc Revert a printf change from r294307. 2016-01-19 23:35:12 +00:00
riscv/include Correct RISC-V exception types. 2016-01-18 17:49:32 +00:00
rpc Improve locking of sg_threadcount. 2015-11-19 08:04:05 +00:00
security Busy the mount point which is the owner of the audit vnode, around 2016-01-16 10:06:33 +00:00
sparc64 Add an atomic_fetchadd_64() wrapper on sparc64. 2016-01-22 00:29:11 +00:00
sys Update comment to note the function, prison_priv_check(), that needs to 2016-01-21 20:52:20 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools Rename the /usr/share/doc/legal files to driver.LICENSE to work around 2015-10-16 00:38:05 +00:00
ufs Recheck curthread->td_su after the VFS_SYNC() call, and re-sync if the 2015-12-21 11:50:32 +00:00
vm Typo in comment. 2016-01-24 13:38:41 +00:00
x86 hyperv: use x86 generic code to do the hypervisor detection 2016-01-14 02:50:13 +00:00
xdr
xen xenbus: add a comment with the names of the generated accessors 2016-01-15 14:34:31 +00:00
Makefile