freebsd-nq/sys
Mark Johnston 93908fce72 sctp: Avoid unnecessary refcount bumps in sctp_inpcb_bind()
We only drop the inp lock when binding to a specific port.  So, only
acquire an extra reference when required.  This simplifies error
handling a bit.

Reviewed by:	tuexen
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D31732
2021-08-31 07:43:27 -04:00
..
amd64 amd64: correctly calculate KVA of the preloaded ucode blob 2021-08-31 04:46:12 +03:00
arm Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
arm64 qoriq_dw_pci: Fix typo in link status checking code 2021-08-31 06:22:33 +02:00
bsm Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
cam targ(4): Remove D_NEEDGIANT. 2021-08-21 11:20:54 -04:00
cddl Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
compat Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
conf Don't error out on unused but set variables with clang 13 2021-08-29 15:53:40 +02:00
contrib zfs: merge openzfs/zfs@3b89d9518 (master) into main 2021-08-31 09:02:21 +02:00
crypto aesni: Avoid a potential out-of-bounds load in aes_encrypt_icm() 2021-08-30 14:22:20 -04:00
ddb Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
dev umodem: Add Huawei E3372h-320 device id 2021-08-31 08:44:36 +02:00
dts Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
fs Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
gdb
geom Fix some common typos in source code comments 2021-08-28 18:57:23 +02:00
gnu
i386 Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
isa
kern ktls: Support asynchronous dispatch of AEAD ciphers. 2021-08-30 13:11:52 -07:00
kgssapi
libkern libkern: remove bcopy 2021-08-24 11:24:07 +00:00
mips Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
modules zfs: merge openzfs/zfs@3b89d9518 (master) into main 2021-08-31 09:02:21 +02:00
net routing: simplify malloc flags in alloc_nhgrp(). 2021-08-31 08:14:16 +00:00
net80211 Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
netgraph routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-08-22 22:56:08 +00:00
netinet sctp: Avoid unnecessary refcount bumps in sctp_inpcb_bind() 2021-08-31 07:43:27 -04:00
netinet6 inet6(4): Fix a few common typos in source code comments 2021-08-28 18:53:59 +02:00
netipsec ipsec: fix race condition in key.c 2021-08-13 12:52:38 +02:00
netpfil pf: Introduce nvlist variant of DIOCGETSTATUS 2021-08-29 14:59:04 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-08-22 22:56:08 +00:00
opencrypto ktls: Support asynchronous dispatch of AEAD ciphers. 2021-08-30 13:11:52 -07:00
powerpc Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
riscv sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-08-30 23:38:02 +01:00
rpc rpc: Make function tables const 2021-08-14 11:26:12 -04:00
security Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
sys ktls: Support asynchronous dispatch of AEAD ciphers. 2021-08-30 13:11:52 -07:00
teken
tests routing: add IPv6 fib validation procedure. 2021-08-16 23:04:01 +00:00
tools Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
ufs ffs_update(): Do not assume that EBUSY can only come LK_NOWAIT trylock 2021-08-31 07:38:35 +03:00
vm vm: use __func__ for the correct function name 2021-08-22 17:43:12 +00:00
x86 Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
xdr
xen xen: introduce xen_pv_disks_disabled() 2021-07-28 17:27:04 +02:00
Makefile