freebsd-src/sys
Kristof Provost 76e1c9c671 if_ovpn: fix address family check when traffic class bits are set
When the tunneled (IPv6) traffic had traffic class bits set (but only >=
16) the packet got lost on the receive side.

This happened because the address family check in ovpn_get_af() failed
to mask correctly, so the version check didn't match, causing us to drop
the packet.

While here also extend the existing 6-in-6 test case to trigger this
issue.

PR:		266598
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2022-09-26 13:54:20 +02:00
..
amd64 amd64: Ignore 1GB mappings in pmap_advise() 2022-09-24 09:28:41 -04:00
arm Teach the GICv3 driver to translate memory ranges 2022-09-23 15:28:45 +01:00
arm64 arm64: Ignore 1GB mappings in pmap_advise() 2022-09-24 09:28:41 -04:00
bsm
cam
cddl
compat kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
conf zfs: merge openzfs/zfs@c629f0bf6 2022-09-21 14:17:13 +02:00
contrib lindebugfs,rtw88,rtw89: correct module dependencies 2022-09-25 21:41:22 +00:00
crypto
ddb
dev arm64: Enabling new hypercalls using HvCallSetVpRegisters and HvCallGetVpRegisters 2022-09-26 06:30:37 +00:00
dts
fs fusefs: truncate write if it would exceed RLIMIT_FSIZE 2022-09-25 15:02:59 -06:00
gdb
geom
gnu
i386 kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
isa
kern Add vn_rlimit_fsizex() and vn_rlimit_fsizex_res() 2022-09-24 19:41:33 +03:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@c629f0bf6 2022-09-21 14:17:13 +02:00
net if_ovpn: fix address family check when traffic class bits are set 2022-09-26 13:54:20 +02:00
net80211 if_clone: migrate some consumers to the new KPI. 2022-09-22 12:30:09 +00:00
netgraph
netinet tcp: make RACK loadable again using the default configuration 2022-09-26 12:30:50 +02:00
netinet6
netipsec
netpfil if_clone: migrate some consumers to the new KPI. 2022-09-22 12:30:09 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ibcore: The use of IN_LOOPBACK() now requires a valid VNET context. 2022-09-23 13:42:03 +02:00
opencrypto
powerpc kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
riscv kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
rpc
security
sys Add vn_rlimit_fsizex() and vn_rlimit_fsizex_res() 2022-09-24 19:41:33 +03:00
teken
tests
tools
ufs FFS: truncate write if it would exceed the fs max file size or RLIMIT_FSIZE 2022-09-24 19:41:57 +03:00
vm kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
x86 kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
xdr
xen
Makefile