freebsd-skq/sys
Kristof Provost 2ef5d803e3 in6_mcast: Return EADDRINUSE when we've already joined the group
Distinguish between truly invalid requests and those that fail because
we've already joined the group. Both cases fail, but differentiating
them allows userspace to make more informed decisions about what the
error means.

For example. radvd tries to join the all-routers group on every SIGHUP.
This fails, because it's already joined it, but this failure should be
ignored (rather than treated as a sign that the interface's multicast is
broken).

This puts us in line with OpenBSD, NetBSD and Linux.

Reviewed by:	donner
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D30111
2021-05-10 09:48:51 +02:00
..
amd64 linux(4): make arch_prctl(2) support GET_CET_STATUS, report unknown codes 2021-05-06 09:33:42 +01:00
arm rpi_ft5406: Recognize raspberrypi,firmware-ts touchscreen 2021-05-09 12:13:19 +02:00
arm64 Add LS1028A clockgen driver 2021-05-07 03:48:53 +02:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam: Add doxygen docs to cam_sim_alloc 2021-05-05 11:44:39 -06:00
cddl fbt: Remove some handling for multiple CTF containers 2021-04-02 17:49:13 -04:00
compat linux: remove redundant SDT tracepoints 2021-05-05 13:59:00 +01:00
conf Add LS1028A clockgen driver 2021-05-07 03:48:53 +02:00
contrib zfs: restore copyright disclaimer change from 4b84b4cca 2021-04-26 22:16:50 +02:00
crypto ossl: Don't encryt/decrypt too much data for chacha20. 2021-04-01 15:49:07 -07:00
ddb fix style nit: space after if 2021-05-05 15:26:09 -06:00
dev ofw: support for a single 'port' DTS property. 2021-05-08 15:41:57 +01:00
dts dts: Bump the freebsd branding version to 5.10 2021-03-23 15:02:21 +01:00
fs Make encode/decode extra time functions inline. 2021-05-08 06:42:20 +03:00
gdb gdb: report specific stop reason for watchpoints 2021-03-30 11:36:41 -03:00
geom gmultipath: make physpath distinct from the underlying providers' 2021-05-06 12:32:27 -06:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 Create VM_MEMATTR_DEVICE on all architectures 2021-04-12 06:15:31 +00:00
isa Remove more remnants of sio(4) 2021-04-07 14:33:02 -04:00
kern Constify vm_pager-related virtual tables. 2021-05-07 17:08:03 +03:00
kgssapi opencrypto: Introduce crypto_dispatch_async() 2021-02-08 09:19:19 -05:00
libkern Use '.arch_extension crc' in the arm64 crc32 code 2021-05-06 07:42:35 +00:00
mips OCF: Remove support for asymmetric cryptographic operations. 2021-04-12 14:28:43 -07:00
modules Introduce DXR as an IPv4 longest prefix matching / FIB module 2021-05-05 13:45:52 +02:00
net Fix panic when trying to delete non-existent gateway in multipath route. 2021-05-07 20:41:31 +00:00
net80211 net80211: prefix get_random_bytes() with net80211_ 2021-03-24 22:16:09 +00:00
netgraph netgraph/ng_bridge: learn MACs via control message 2021-05-04 22:14:59 +02:00
netinet This takes Warners suggested approach to making it so that 2021-05-07 17:32:32 -04:00
netinet6 in6_mcast: Return EADDRINUSE when we've already joined the group 2021-05-10 09:48:51 +02:00
netipsec Add missing sockaddr length and family validation to various protocols 2021-05-03 13:35:19 -04:00
netpfil pf: Support killing 'matching' states 2021-05-07 22:13:31 +02:00
netsmb
nfs Fix panic when using BOOTP to resolve root path. 2021-03-28 14:02:40 -05:00
nfsclient nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nfsserver nfs: Cleanup dead files 2021-03-17 06:16:31 +11:00
nlm
ofed Add missing sockaddr length and family validation to various protocols 2021-05-03 13:35:19 -04:00
opencrypto OCF: Remove support for asymmetric cryptographic operations. 2021-04-12 14:28:43 -07:00
powerpc powerpc64: Split out DMAP and non-DMAP implementations of some methods 2021-05-05 20:57:33 -05:00
riscv riscv: Remove old qemu compatibility code 2021-04-27 16:22:04 -05:00
rpc nfsd: fix a NFSv4.1 Linux client mount stuck in CLOSE_WAIT 2021-04-27 15:32:35 -07:00
security tcp_input/syncache: acquire only read lock on PCB for SYN,!ACK packets 2021-04-12 08:25:31 -07:00
sys cdefs: Make __nosanitizeaddress work for KASAN as well 2021-05-07 14:31:08 -04:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Revise FIB lookups per second benchmarking routines. 2021-05-05 12:28:17 +02:00
tools newbus: remove support for SINGLETON 2021-04-26 11:41:08 -06:00
ufs b_vflags update requries bufobj lock 2021-04-15 15:47:42 +03:00
vm Constify vm_pager-related virtual tables. 2021-05-07 17:08:03 +03:00
x86 stack(9): Disable KASAN in stack_capture() 2021-05-07 14:31:08 -04:00
xdr
xen xen: move x86-specific xen_vector_callback_enabled to sys/x86 2021-03-15 14:20:21 +01:00
Makefile