opnsense-src/sys
Andrey V. Elsukov bf18dfa28e Merge r1.22-1.23 from NetBSD:
Don't assume M_PKTHDR is set only on the first mbuf of the chain.
  The check is replaced by (m1 != m), which is equivalent to the previous
  code: we want to modify m->m_pkthdr.len only when 'm' was not passed in
  m_adj().

  Fix a pretty bad mistake, that has always been there:
   m_adj(m1, -(m1->m_len - roff));
   if (m1 != m)
	m->m_pkthdr.len -= (m1->m_len - roff);

  This is wrong: m_adj() will modify m1->m_len, so we're using a wrong
  value when manually adjusting m->m_pkthdr.len.

Reported by:	Maxime Villard <max at m00nbsd dot net>
Obtained from:	NetBSD
MFC after:	1 week
2018-04-26 12:23:31 +00:00
..
amd64 If a trap is encountered upon executing iretq from within doreti() the 2018-04-25 14:21:13 +00:00
arm Implement 32-bit atomic_fcmpset() in userland for armv4/v5. 2018-04-23 17:00:15 +00:00
arm64 Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
bsm sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
cam Just assert that the lock is held here, rather than taking it out and 2018-04-13 16:45:35 +00:00
cddl dtrace: depessimize dtmalloc when dtrace is active 2018-04-24 01:06:20 +00:00
compat [procfs] Split procfs_attr into multiple functions 2018-04-24 14:49:09 +00:00
conf [amdsbwd] teach amdsbwd that it has options 2018-04-24 13:07:17 +00:00
contrib Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8 2018-04-02 23:40:50 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb Restore db_radix on parse error, otherwise we'll silently change it to 2018-04-17 15:44:05 +00:00
dev Fix Issue with adding MUltiCast Addresses. When multicast addresses are 2018-04-25 18:06:22 +00:00
dts Enable ARM PL330 DMA engine and Cadence Quad SPI flash controller on 2018-04-23 12:23:05 +00:00
fs [procfs] Split procfs_attr into multiple functions 2018-04-24 14:49:09 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom Annotate geom modules with MODULE_VERSION 2018-04-10 19:18:16 +00:00
gnu gnu/dts: Update our copy of arm dts from Linux 4.16 2018-04-20 19:37:08 +00:00
i386 Fix i386 build after r332970 by adding IS_BSP() definition. 2018-04-25 07:51:41 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern Improve VM page queue scalability. 2018-04-24 21:15:54 +00:00
kgssapi kgssapi: Remove trivial deadcode 2018-02-14 00:12:03 +00:00
libkern iconv uses strlen directly on user supplied memory 2018-02-26 18:23:36 +00:00
mips Fix mips32 build after r332951. 2018-04-25 19:46:39 +00:00
modules Fix futexes on i386 after the 4/4G split. 2018-04-24 12:50:21 +00:00
net Add network device event for priority code point, PCP, changes. 2018-04-26 08:58:27 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Revert r332894 at the request of the submitter. 2018-04-24 19:55:12 +00:00
netinet6 Revert r332894 at the request of the submitter. 2018-04-24 19:55:12 +00:00
netipsec Merge r1.22-1.23 from NetBSD: 2018-04-26 12:23:31 +00:00
netpfil To avoid possible deadlock do not acquire JQUEUE_LOCK before callout_drain. 2018-04-13 10:03:30 +00:00
netsmb Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
nfs Remove support for FDDI networks. 2018-04-11 17:28:24 +00:00
nfsclient style: Remove remaining deprecated MALLOC/FREE macros 2018-01-25 22:25:13 +00:00
nfsserver sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
nlm Use syscall_helper_register() to register syscalls and initialize though 2018-02-10 01:09:22 +00:00
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto cryptosoft: Do not exceed crd_len around *crypt_multi 2018-04-19 15:24:21 +00:00
powerpc Increase the fdtmemreserv array limit to boot on POWER9 2018-04-25 02:42:11 +00:00
riscv Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
rpc Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Remove references to fs_nofault_intr_begin/end. 2018-04-17 22:30:00 +00:00
sys Revert r332894 at the request of the submitter. 2018-04-24 19:55:12 +00:00
teken Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
tests style(9): sort headers 2017-05-09 05:08:47 +00:00
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Renumber soft-update types starting at 1 instead of 0 to avoid confusion 2018-04-05 00:32:01 +00:00
vm Improve VM page queue scalability. 2018-04-24 21:15:54 +00:00
x86 Use CPUID leaf 0x15 to get TSC frequency when the calibration is 2018-04-25 16:43:45 +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