freebsd-dev/sys
Richard Scheffenegger 3b0ee68050 tcp: Prevent setting of ECN bits with setsockopt()
setsockopt() grants full access to the deprecated
TOS byte. For TCP, mask out the ECN codepoint, so that
only the DSCP portion can be adjusted.

Reviewed By: tuexen, hselasky, #manpages, #transport, debdrup
Sponsored by:        NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D34154
2022-02-03 20:06:42 +01:00
..
amd64 amd64: micro-optimize vptopte()/vtopde() further 2022-02-02 11:40:04 +02:00
arm Add PT_GETREGSET 2022-01-27 11:40:34 +00:00
arm64 sys/arm64/iommu/iommu_pmap.c readd sys/systm.h 2022-02-03 20:03:29 +01:00
bsm
cam CTL: Fix mode page trucation on HA synchronization. 2022-02-03 11:10:12 -05:00
cddl Teach DTrace about BTI on arm64 2022-01-19 12:07:35 +00:00
compat linux: Provide dummy seccomp(2) 2022-01-28 11:45:41 +00:00
conf Disable -Wunused-function for {ed,x}25519_ref10.c in libsodium. 2022-02-02 12:25:16 -08:00
contrib zfs: Fix zvol_cdev_open locking 2022-01-26 18:37:52 +00:00
crypto crypto: Add an API supporting curve25519. 2022-01-24 15:27:39 -08:00
ddb ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
dev kern: harvest entropy from callouts 2022-02-03 10:05:06 -06:00
dts add overlay for enabling spi0 on allwinner h3 2022-01-26 11:42:20 +02:00
fs unionfs: do not force LK_NOWAIT if VI_OWEINACT is set 2022-02-02 21:08:17 -06:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-01-22 14:46:06 -05:00
geom In GEOM debugging output, show consumer for cloned and duplicated bio's. 2022-01-30 17:21:13 -08:00
gnu
i386 Add PT_GETREGSET 2022-01-27 11:40:34 +00:00
isa sys/isa: Use C99 fixed-width integer types. 2021-12-28 09:41:57 -08:00
kern kern: harvest entropy from callouts 2022-02-03 10:05:06 -06:00
kgssapi
libkern sys/libkern: Use C99 fixed-width integer types. 2021-12-28 09:42:11 -08:00
modules iwlwifi: Disable -Wformat when building with GCC. 2022-02-03 10:48:18 -08:00
net pflog: align header to 4 bytes, not 8 2022-02-01 18:17:44 +01:00
net80211 net80211: ieee80211_dump_node() cosmetics 2022-01-17 00:01:46 +00:00
netgraph domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
netinet tcp: Prevent setting of ECN bits with setsockopt() 2022-02-03 20:06:42 +01:00
netinet6 Fix a memory leak when ip_output_send() returns EAGAIN due to send tag issues 2022-01-27 10:34:34 -05:00
netipsec IPsec: Use protocol-specific malloc types instead of M_XDATA. 2022-01-24 15:27:39 -08:00
netpfil ipfilter: Fix indentation error 2022-02-03 08:37:11 -08:00
netsmb
nfs
nfsclient
nfsserver
nlm sys/nlm: Use C99 fixed-width integer types. 2021-12-28 09:42:42 -08:00
ofed domains: init with standard SYSINIT(9) or VNET_SYSINIT() 2022-01-03 10:15:22 -08:00
opencrypto opencrypto/xform_*.h: Trim scope of included headers. 2022-01-25 15:21:22 -08:00
powerpc Add PT_GETREGSET 2022-01-27 11:40:34 +00:00
riscv arm64, riscv: handle RB_KDB 2022-02-01 13:59:54 -04:00
rpc sys/rpc: Use C99 fixed-width integer types. 2021-12-28 09:43:15 -08:00
security
sys kern: harvest entropy from callouts 2022-02-03 10:05:06 -06:00
teken
tests
tools Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
ufs ufs, msdosfs: do not record witness order when creating vnode 2022-02-01 10:51:55 +02:00
vm vmmeter(): Fix detection of the named swap objects 2022-02-02 11:39:58 +02:00
x86 atrtc: Install address space handler for \_SB and its descendant. 2022-01-21 15:32:30 +09:00
xdr sys/xdr: Use C99 fixed-width integer types. 2021-12-28 09:43:26 -08:00
xen
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00