opnsense-src/sys
Gleb Smirnoff e80062a2d4 tcp: avoid call to soisconnected() on transition to ESTABLISHED
This call existed since pre-FreeBSD times, and it is hard to understand
why it was there in the first place.  After 6f3caa6d81 it definitely
became necessary always and commit message from f1ee30ccd6 confirms that.
Now that 6f3caa6d81 is effectively backed out by 07285bb4c2, the call
appears to be useful only for sockets that landed on the incomplete queue,
e.g. sockets that have accept_filter(9) enabled on them.

Provide a new TCP flag to mark connections that are known to be on the
incomplete queue, and call soisconnected() only for those connections.

Reviewed by:		rrs, tuexen
Differential revision:	https://reviews.freebsd.org/D36488
2022-09-08 09:16:04 -07:00
..
amd64 vmm: Remove unneeded variable maxcpus 2022-09-07 11:41:16 +02:00
arm Add ARMADA38X gateclk control 2022-09-07 09:44:58 +02:00
arm64 Use the cached dc zva length in arm64 memset 2022-09-08 14:30:11 +01:00
bsm
cam CTL: Validate IOCTL parameters. 2022-09-06 21:58:27 -04:00
cddl Adjust function definition in riscv's dtrace_subr.c to avoid clang 15 warning 2022-08-14 21:27:34 +02:00
compat rb_tree: reduce duplication in balancing code 2022-09-07 23:46:19 -05:00
conf Import the arm64 Cortex Strings memset into the kernel 2022-09-08 14:30:09 +01:00
contrib LinuxKPI, dev: 80211 update mac80211 KPI 2022-09-07 23:38:54 +00:00
crypto Fix the IV length in the armv8 AES GCM code 2022-09-06 13:11:04 +01:00
ddb Adjust db_flush_line() definition to avoid clang 15 warning 2022-07-19 20:37:15 +02:00
dev Hyper-V: storvsc: relax a couple more kasserts 2022-09-08 04:22:26 +00:00
dts sys/dts: Remove MIPS files 2022-05-20 17:11:27 +01:00
fs nfscl: Allow "nolockd" to work for NFSv4 mounts 2022-09-04 13:09:33 -07:00
gdb ddb: use _FLAGS command macros where appropriate 2022-07-05 11:56:55 -03:00
geom Adjust g_waitidle() visibility and definition 2022-08-02 21:11:10 +03:00
gnu bwn: eliminate dead writes in BWN_GPL_PHY 2022-05-04 09:32:59 -04:00
i386 i386: Correct a typo in source code comment 2022-09-04 13:35:34 +02:00
isa Adjust function definition in isa's pnp.c to avoid clang 15 warning 2022-07-27 21:13:59 +02:00
kern tcp: avoid call to soisconnected() on transition to ESTABLISHED 2022-09-08 09:16:04 -07:00
kgssapi
libkern libkern: Fix a typo in a source code comment 2022-06-05 08:57:26 +02:00
modules divert(4): do not depend on ipfw(4) 2022-09-06 20:54:57 -07:00
net routing: constantify nh/nhg argument in <nhop|nhgrp>_get_origin(). 2022-09-08 10:21:25 +00:00
net80211 net80211: update (parts of) Action field categories 2022-09-07 23:28:13 +00:00
netgraph divert: declare PF_DIVERT domain and stop abusing PF_INET 2022-08-30 15:09:21 -07:00
netinet tcp: avoid call to soisconnected() on transition to ESTABLISHED 2022-09-08 09:16:04 -07:00
netinet6 net: retire PFIL_FWD 2022-09-07 10:04:31 +00:00
netipsec protosw: refactor protosw and domain static declaration and load 2022-08-17 11:50:32 -07:00
netpfil ipfilter: Remove unused ioctl 2022-09-06 19:57:05 -07:00
netsmb
nfs nfs: skip bootpc when vfs.root.mountfrom is other than nfs 2022-05-31 16:07:27 -03:00
nfsclient
nfsserver
nlm
ofed ibcore: Add support for RDMA/RoCE using VLAN(4) devices. 2022-08-22 10:04:26 +02:00
opencrypto opencrypto: mark INVARIANTS variables as __diagused 2022-08-10 15:35:29 -04:00
powerpc powerpc: Correct some typos in source code comments 2022-09-04 13:32:13 +02:00
riscv arm64, riscv: size boot stacks appropriately 2022-09-08 00:03:05 -05:00
rpc nfsd: Allow multiple instances of rpc.tlsservd 2022-08-22 13:54:24 -07:00
security protosw: refactor protosw and domain static declaration and load 2022-08-17 11:50:32 -07:00
sys tcp: avoid call to soisconnected() on transition to ESTABLISHED 2022-09-08 09:16:04 -07:00
teken
tests
tools sound(4): Fix order of parameters for custom equalizer band pass filter. 2022-08-22 10:04:26 +02:00
ufs Updates to UFS/FFS superblock integrity checks when reading a superblock. 2022-09-03 14:11:38 -07:00
vm protosw: retire pr_drain and use EVENTHANDLER(9) directly 2022-08-17 11:50:31 -07:00
x86 x86: Correct a typo in source code comment 2022-09-04 13:36:53 +02:00
xdr
xen xenbus: improve device tracking 2022-06-07 12:29:53 +02:00
Makefile