tcp_output.c

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve the TCP SACK generation by reporting DSACKs

  1. … 3 more files in changeset.
Sync with FreeBSD 11-stable.

  1. … 3187 more files in changeset.
sync with freebsd

  1. … 214 more files in changeset.
hard revert on network stack code

  1. … 303 more files in changeset.
merge in TOE update from FreeBSD 252555.

  1. … 24 more files in changeset.
If ip_output() returns EMSGSIZE to tcp_output(), then the latter calls tcp_mtudisc(), which in its turn may call tcp_output(). Under certain conditions (must admit they are very special) an infinite recursion can happen.

To avoid recursion we can pass struct route to ip_output() and obtain

correct mtu. This allows us not to use tcp_mtudisc() but call tcp_mss_update()

directly.

Obtained from: FreeBSD

TCP MD5 signature denial of service fix

  1. … 1 more file in changeset.
TCP MD5 signature denial of service

A programming error in processing a TCP connection with both TCP_MD5SIG

and TCP_NOOPT socket options may lead to kernel crash.

  1. … 1 more file in changeset.
Fix a bug where TCP connections transitioning to LAST_ACK state can get stuck. This can result in a denial of service.

  1. … 1 more file in changeset.
MidnightBSD 0.6.3 RELEASE

TCP connections transitioning to the LAST_ACK state can become permanently

stuck due to mishandling of protocol state in certain situations, which in

turn can lead to accumulated consumption and eventual exhaustion of system

resources, such as mbufs and sockets.

  1. … 2 more files in changeset.
Fix IPv6 problems.

Make some things in ATA & cam constant.

Fix some bugs in geom

Remove unused files.

Tag.

  1. … 912 more files in changeset.
sync with freebsd 9 stable.

  1. … 2449 more files in changeset.
Major feature merge from FreeBSD 7.1

Introduce FIB (Forward Routing Base) aka multiple routing tables to MidnightBSD. This is the kernel piece with userland to follow later.

As part of this work, changes had to be made to the vm subsystem, rwlocks introduced, changes to sleep queues, and modifications to the pf firewall.

Effectively this gives us most of the functionality of the FreeBSD 7.1 network stack including tcp offload.

  1. … 339 more files in changeset.
Remove ifdef from 4.3BSD Net/2. I don't think it's ever going to be done. :)

Fix bug reported here: http://blogmal.42.org/tidbits/tcp-bug.story

Only affects amd64 MidnightBSD

If the new window size ends up being the same as the old size when it is scaled, then don't force a window update.

Obtained from: Patch by John Baldwin, FreeBSD 7-STABLE local patch

soreceive() will send an ACK right away if data was drained from a TCP socket that advertized a 0 sized window. However, the receive window had to be exactly zero. Change the code to check the raw window value instead.

fix incorrect tcp padding on options

  1. … 1 more file in changeset.
*** empty log message ***

  1. … 460 more files in changeset.
bring in freebsd changes.

  1. … 156 more files in changeset.
Disable debugging information.

  1. … 1 more file in changeset.
TCP Auto sizing of socket buffers improves throughput on high latency links. Several new sysctls were added to control the buffers max size, etc.

Additional work is needed, but under initial testing this is working great. You must rebulid world in order for netstat to work correctly.

A few changes were made to netstat, but do not change functionality in any significant way.

  1. … 13 more files in changeset.