r342214 markj Dec. 19, 2018, 4:54 a.m.
This fixes a warning seen when compiling amd64 GENERIC with clang 7.
Also remove the workaround added in r337324.  clang 7 and gcc 4.2
generate the same code with or without the code change.

Reviewed by:	imp (previous version)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D18603
r342211 avos Dec. 19, 2018, 3:08 a.m.
ieee80211_alloc_node() does not initialize rateset tables; that's not
expected by rate control modules and will result in array access at
index -1 - where ni_essid[] array is located (zeroed at allocation, so
there are no user-visible consequences).

Just delay rate control initialization to the moment, when rateset
tables are initiaziled; nothing will use rates here anyway.

MFC after:	4 days
r342208 np Dec. 19, 2018, 1:37 a.m.
- Fix PR 227760 by getting the TOE to respond to the SYN after the call
  to toe_syncache_add, not during it.  The kernel syncache code calls
  syncache_respond just before syncache_insert.  If the ACK to the
  syncache_respond is processed in another thread it may run before the
  syncache_insert and won't find the entry.  Note that this affects only
  t4_tom because it's the only driver trying to insert and expand
  syncache entries from different threads.

- Do not leak resources if an embryonic connection terminates at
  SYN_RCVD because of L2 lookup failures.

- Retire lctx->synq and associated code because there is never a need to
  walk the list of embryonic connections associated with a listener.
  The per-tid state is still called a synq entry in the driver even
  though the synq itself is now gone.

PR:		227760
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
r342207 markj Dec. 19, 2018, 12:17 a.m.
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
r342204 avg Dec. 18, 2018, 9:43 p.m.
PR:		218632
Reported by:	Denis Kozadaev <denis@tambov.ru>
MFC after:	1 week
r342197 glebius Dec. 18, 2018, 7:38 p.m.
r342196 imp Dec. 18, 2018, 7:05 p.m.
r342195 imp Dec. 18, 2018, 6:52 p.m.
Move dev/usb/wlan to sys/dev/usb/wlan as it was the odd-man-out.
r342193 avg Dec. 18, 2018, 5:17 p.m.
Those should ensure correctness of ichwd_find_ich_lpc_bridge() and
ichwd_find_ich_lpc_bridge() as well as make it easier for both humans
and static analyzers to see the relation between tco_version and ich and
smb variables in ichwd_identify().

Reported by:	Coverity
CID:		1396314, 1396317
MFC after:	10 days
r342192 markj Dec. 18, 2018, 4:47 p.m.
Reported by:	oshogbo
MFC with:	r341837
Sponsored by:	The FreeBSD Foundation
r342190 brooks Dec. 18, 2018, 12:44 p.m.
Reviewed by:	kib
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D18444
r342185 avos Dec. 18, 2018, 5:08 a.m.
MFC after:	6 days
r342183 cy Dec. 18, 2018, 1:12 a.m.
Update sqlite3-3.23.1 --> sqlite3-3.26.0 (3260000)

MFC after:	3 days
Security:	https://blade.tencent.com/magellan/index_en.html
		No known CVE was apparently registered.
r342182 markj Dec. 17, 2018, 9:48 p.m.
The code is unreachable since the entries of radeon_ioctls[] are not
associated with any device: we provide only the KMS entry points.
Moreover, r600_cp_dispatch_texture() contains an integer overflow bug
that can be triggered from userspace.[1]

Reported by:	Anonymous of the Shellphish Grill Team[1]
Reviewed by:	dumbbell
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18516
r342180 markj Dec. 17, 2018, 9:34 p.m.
MFC with:	r342178