freebsd-skq/sys
Marcel Moolenaar 0fa211be96 In freebsd32_sendmsg(), replace the call to sockargs() followed by a
call to freebsd32_convert_msg_in() with freebsd32_copyin_control() to
readin and convert in a single step. This makes it simpler to put all
the control messages in a single mbuf or mbuf cluster as per the
limitations imposed upon us by ip6_setpktopts().

The logic is as follows:
1.  Go over the array of control messages to determine overall size
    and include extra padding for proper alignment as we go.
2.  Get a mbuf or mbuf cluster as needed or fail if the overall
    (adjusted) size is larger than a cluster.
3.  Go over the array of control messages again, but now copy them
    into kernel space and into aligned offsets.
4.  Update the length of the control message to take padding between
    the header and the data into account (but not for padding added
    between one control message and the next).

Obtained from:	Juniper Networks, Inc.
MFC after:	1 week
2014-04-05 18:56:01 +00:00
..
amd64 Re-write bhyve's I/O MMU handling in terms of PCI RID. 2014-04-01 15:54:03 +00:00
arm Remove code under PMAP_CACHE_VIVT that is not compiled anymore. 2014-04-05 18:13:28 +00:00
boot Connect sys/boot/amd64 to the build 2014-04-04 18:07:21 +00:00
bsm
cam All the iSCSI sysctls are also tunables; advertise that. 2014-04-04 08:48:55 +00:00
cddl Add property and sysctl to control how ZVOLs are exposed to OS. 2014-04-05 13:01:44 +00:00
compat In freebsd32_sendmsg(), replace the call to sockargs() followed by a 2014-04-05 18:56:01 +00:00
conf Change NO_EVENTTIMERS from an arm-specific to an MI option, so that it can 2014-04-02 19:51:29 +00:00
contrib Fix ah_powerMode setting. 2014-03-29 18:56:11 +00:00
crypto
ddb ddb: Minor style cleanups. 2014-03-31 16:37:41 +00:00
dev Remove hack to pass STAILQ to a function and do it properly instead. 2014-04-05 18:41:08 +00:00
fs Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
gdb
geom Show error code when failing to destroy a mirror on delay 2014-04-05 03:01:29 +00:00
gnu
i386 Clear the kernel grab of the FPU state on fork. The pcb_save pointer 2014-03-29 11:56:33 +00:00
ia64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
isa
kern Prevent alq from panic when the invalid alq_file path specified. 2014-04-05 16:54:47 +00:00
kgssapi
libkern
mips Change kernel/rootfs hints to use search patterns instead of absolute 2014-04-04 15:52:45 +00:00
modules Remove ctl_mem_pool.{c,h}. 2014-03-27 11:10:13 +00:00
net Merge from projects/pf r251993 (glebius@): 2014-03-25 06:55:53 +00:00
net80211
netgraph
netinet Improve readability of comments for DELAY_ACK() macro. 2014-04-03 01:46:03 +00:00
netinet6 Remove unused label. 2014-03-31 14:40:35 +00:00
netipsec The check for local address spoofing lacks ifaddr locking. 2014-04-04 16:58:32 +00:00
netnatm
netpfil Merge from projects/pf r251993 (glebius@): 2014-03-25 06:55:53 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
opencrypto
pc98 Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
pci Increase the number of TX DMA segments from 32 to 35. It turned 2014-03-31 01:54:59 +00:00
powerpc Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
rpc
security audit: plug FILEDESC_LOCK leak in audit_canon_path. 2014-03-21 01:30:33 +00:00
sparc64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
sys When KN_INFLUX is set on the knote due to kqueue_register() or 2014-04-05 14:09:16 +00:00
teken
tools
ufs Update comment to explain search order reverted to historical order 2014-03-22 11:26:39 +00:00
vm Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
x86 Re-implement the DMAR I/O MMU code in terms of PCI RIDs 2014-04-01 15:48:46 +00:00
xdr
xen
Makefile