freebsd-nq/sys
Tom Jones 1fdbfb909f Use UDP len when calculating UDP checksums
The length of the IP payload is normally equal to the UDP length, UDP Options
(draft-ietf-tsvwg-udp-options-02) suggests using the difference between IP
length and UDP length to create space for trailing data.

Correct checksum length calculation to use the UDP length rather than the IP
length when not offloading UDP checksums.

Approved by: jtl (mentor)
Differential Revision:	https://reviews.freebsd.org/D15222
2018-06-06 07:04:40 +00:00
..
amd64 hwpmc: ABI fixes 2018-06-04 02:05:48 +00:00
arm Since we don't enable BUF_TRACKING and FULL_BUF_TRACKING buffer debugging 2018-06-05 05:24:42 +00:00
arm64 Since we don't enable BUF_TRACKING and FULL_BUF_TRACKING buffer debugging 2018-06-05 05:24:42 +00:00
bsm
cam Enable high-speed on the card before increasing frequency on the controller 2018-06-05 11:03:24 +00:00
cddl Revert r326083, it doesn't behave as expected. 2018-06-03 03:53:11 +00:00
compat Declare and set the global "system_highpri_wq" workqueue structure pointer 2018-06-05 15:49:35 +00:00
conf Fix build: ignore a GCC 7.2.0 warning which says that third argument of 2018-06-04 16:20:22 +00:00
contrib MFV: r334448 2018-06-04 22:26:47 +00:00
crypto disable printing value of SKEIN_LOOP during standard out, 2018-05-19 18:27:14 +00:00
ddb Extend show proc with reaper, sigparent, and vmspace information 2018-05-25 13:59:48 +00:00
dev hwpmc: add summary command and further metadata extensions 2018-06-06 02:48:09 +00:00
dts
fs Revert r334586 since I now think __unused is the better way to handle this. 2018-06-04 11:35:04 +00:00
gdb
geom Introduce the 'n' flag for the geli attach command. 2018-05-09 20:53:38 +00:00
gnu
i386 hwpmc: ABI fixes 2018-06-04 02:05:48 +00:00
isa
kern hwpmc: log name->pid, name->tid mappings 2018-06-05 04:26:40 +00:00
kgssapi
libkern str(r)chr: Replace union abuse with __DECONST 2018-06-04 18:47:14 +00:00
mips MALTA64EL: disable modules until objcopy is fixed 2018-05-24 23:58:57 +00:00
modules hwpmc: remove unused pre-table driven bits for intel 2018-05-31 22:41:07 +00:00
net Rework if_gif(4) to use new encap_lookup_t method to speedup lookup 2018-06-05 21:24:59 +00:00
net80211
netgraph Catch up two more places to the V_ifnet change to a CK_STAILQ. 2018-05-24 00:06:55 +00:00
netinet Use UDP len when calculating UDP checksums 2018-06-06 07:04:40 +00:00
netinet6 Fix LINT-NOINET build. 2018-06-06 05:17:21 +00:00
netipsec Rework IP encapsulation handling code. 2018-06-05 20:51:01 +00:00
netpfil pf: Replace rwlock on PF_RULES_LOCK with rmlock 2018-05-30 07:11:33 +00:00
netsmb Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
nfs UDP: further performance improvements on tx 2018-05-23 21:02:14 +00:00
nfsclient
nfsserver
nlm
ofed UDP: further performance improvements on tx 2018-05-23 21:02:14 +00:00
opencrypto
powerpc Included VSX registers in powerpc core dumps 2018-06-02 20:28:58 +00:00
riscv Export a breakpoint() function to userland for riscv. 2018-05-16 16:56:35 +00:00
rpc
security #include <bsm/audit.h> in security/audit/audit_ioctl.h 2018-05-30 21:50:23 +00:00
sparc64 Define memmove and make bcopy alt entry point 2018-05-24 21:11:28 +00:00
sys malloc: elaborate on r334545 due to frequent questions 2018-06-06 05:08:05 +00:00
teken teken: Fix sequences header which was crossing the 80-col boundary 2018-05-29 08:41:44 +00:00
tests epoch(9): Make epochs non-preemptible by default 2018-05-18 17:29:43 +00:00
tools
ufs ufs: remove cgbno variable where unused 2018-05-19 19:30:42 +00:00
vm Reimplement brk() and sbrk() to avoid the use of _end. 2018-06-04 19:35:15 +00:00
x86 add support for console resuming, implement it for uart, use on x86 2018-05-29 16:16:24 +00:00
xdr
xen xen: remove dead code from gnttab.h 2018-05-25 08:44:00 +00:00
Makefile