aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/printk.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2024-06-06 06:29:05 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2024-06-06 06:29:05 +0000
commit86c9325d341fc3f39543bcfaf7c3bb3ceeacbe5d (patch)
treeb8006d172d5b20ad00b375b089b27e4b8da8e4fc /sys/compat/linuxkpi/common/include/linux/printk.h
parent9c5d7e4a0c02bc45b61f565586da2abcc65d70fa (diff)
downloadsrc-main.tar.gz
src-main.zip
tcp: simplify stack switching protocolHEADmain
Before this patch, a stack (tfb) accepts a tcpcb (tp), if the tp->t_state is TCPS_CLOSED or tfb->tfb_tcp_handoff_ok is not NULL and tfb->tfb_tcp_handoff_ok(tp) returns 0. After this patch, the only check is tfb->tfb_tcp_handoff_ok(tp) returns 0. tfb->tfb_tcp_handoff_ok must always be provided. For existing TCP stacks (FreeBSD, RACK and BBR) there is no functional change. However, the logic is simpler. Reviewed by: lstewart, peter_lei_ieee_.org, rrs MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D45253
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/printk.h')
0 files changed, 0 insertions, 0 deletions