freebsd-dev/sys
Bjoern A. Zeeb 63abacc204 netinet*: replace IP6_EXTHDR_GET()
In a few places we have IP6_EXTHDR_GET() left in upper layer protocols.
The IP6_EXTHDR_GET() macro might perform an m_pulldown() in case the data
fragment is not contiguous.

Convert these last remaining instances into m_pullup()s instead.
In CARP, for example, we will a few lines later call m_pullup() anyway,
the IPsec code coming from OpenBSD would otherwise have done the m_pullup()
and are copying the data a bit later anyway, so pulling it in seems no
better or worse.

Note: this leaves very few m_pulldown() cases behind in the tree and we
might want to consider removing them as well to make mbuf management
easier again on a path to variable size mbufs, especially given
m_pulldown() still has an issue not re-checking M_WRITEABLE().

Reviewed by:	gallatin
MFC after:	8 weeks
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D22335
2019-11-15 21:44:17 +00:00
..
amd64 Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
arm Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
arm64 Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
bsm
cam Fix a race between daopen and damediapoll 2019-11-13 01:58:43 +00:00
cddl amd64: move GDT into PCPU area. 2019-11-12 15:51:47 +00:00
compat Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
conf RISC-V: add support for SBI spec v0.2 2019-11-15 03:34:27 +00:00
contrib Correct MR length field to be 64-bit in ibcore. 2019-11-15 11:45:14 +00:00
crypto Fix the armv8 crypto driver after r354170. 2019-10-30 10:41:10 +00:00
ddb ddb(4): Add some support for lexing IPv6 addresses 2019-09-09 16:32:23 +00:00
dev cxgbev(4): Catch up with the pciids in the PF driver. 2019-11-15 18:48:14 +00:00
dts dtso: allwinner: Add an overlay for H3 thermal node 2019-08-24 13:26:34 +00:00
fs Replace OBJ_MIGHTBEDIRTY with a system using atomics. Remove the TMPFS_DIRTY 2019-10-29 21:06:34 +00:00
gdb gdb(4): Implement support for NoAckMode 2019-10-17 22:37:25 +00:00
geom Add GEOM attribute to report physical device name, and report it 2019-11-09 17:30:19 +00:00
gnu arm: dts: ti: Fix mmc3 instance by setting it to disabled 2019-10-07 08:11:49 +00:00
i386 Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
isa
kern Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
kgssapi Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
libkern Rename the macros to extract a single arm64 ID field. 2019-10-30 10:06:57 +00:00
mips Combine ELF sysvecs for MIPS to reduce code duplication. 2019-11-15 19:00:20 +00:00
modules Add the pvscsi driver to the tree. 2019-11-14 23:31:20 +00:00
net if_llatbl: cleanup 2019-11-15 11:00:03 +00:00
net80211 Don't use if_maddr_rlock() in 802.11, use epoch(9) directly instead. 2019-10-10 23:55:33 +00:00
netgraph Fix regression from r353026. Pointer was increased instead of value 2019-11-02 03:09:17 +00:00
netinet netinet*: replace IP6_EXTHDR_GET() 2019-11-15 21:44:17 +00:00
netinet6 netinet*: replace IP6_EXTHDR_GET() 2019-11-15 21:44:17 +00:00
netipsec netinet*: replace IP6_EXTHDR_GET() 2019-11-15 21:44:17 +00:00
netpfil pf: Must be in NET_EPOCH to call icmp_error 2019-10-18 03:36:26 +00:00
netsmb Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Prevent potential underflow in ibcore. 2019-11-15 11:46:53 +00:00
opencrypto kTLS support for TLS 1.3 2019-09-27 19:17:40 +00:00
powerpc Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
riscv Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
rpc Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
security Define wrapper functions vm_map_entry_{succ,pred} to act as wrappers 2019-11-13 15:56:07 +00:00
sparc64 Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
sys Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
teken Adjust teken to allow build as part of loader 2019-09-05 18:07:40 +00:00
tests
tools fw_stub.awk: use @generated tag in generated files 2019-09-11 13:35:22 +00:00
ufs In ufs_dir_dd_ino(), always initialize *dd_vp since the caller expects it. 2019-11-12 00:32:33 +00:00
vm Define wrapper functions vm_map_entry_{succ,pred} to act as wrappers 2019-11-13 15:56:07 +00:00
x86 Revert a patch that accidentally was committed with r354729 2019-11-15 11:54:51 +00:00
xdr
xen
Makefile