tcp_input.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.
Simplify and fix a bug in cc_ack_received()'s "are we congestion window limited" logic (refer to [1] for associated discussion). snd_cwnd and snd_wnd are unsigned long and on 64 bit hosts, min() will truncate them to 32 bits and could therefore potentially corrupt the result (although under normal operation, neither variable should legitmately exceed 32 bits).

[1] http://lists.freebsd.org/pipermail/freebsd-net/2013-January/034297.html

Obtained from: FreeBSD 250140

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.
This small change takes care of a race condition that can occur when both sides close at the same time.

handle ipv6 next hop since it is both protocols.

  1. … 1 more file in changeset.
remove the IPFIREWALL_FOWARD kernel option and make it possible to turn on via sysctl.

  1. … 17 more files in changeset.
temporarily revert tcp input changes.

Fix a crash in tcp_input(), that happens when mbuf has a fwd_tag on it, but later after processing and freeing the tag, we need to jump back again to the findpcb label. Since the fwd_tag pointer wasn't NULL we tried to process and free the tag for second time.

add experimental tcp extensions handler

  1. … 1 more file in changeset.
0.4-RELEASE-p15

20140916:

Fix a security issue with TCP SYN.

When a segment with the SYN flag for an already existing connection arrives,

the TCP stack tears down the connection, bypassing a check that the

sequence number in the segment is in the expected window.

  1. … 2 more files in changeset.
20140916: Fix a security issue with TCP SYN.

When a segment with the SYN flag for an already existing connection arrives,

the TCP stack tears down the connection, bypassing a check that the

sequence number in the segment is in the expected window.

Obtained from: FreeBSD

  1. … 2 more files in changeset.
20140916: Fix a security issue with TCP SYN.

When a segment with the SYN flag for an already existing connection arrives,

the TCP stack tears down the connection, bypassing a check that the

sequence number in the segment is in the expected window.

Obtained from: FreeBSD

  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.
remove unused drivers.

sync several features with freebsd 9 stable

  1. … 85 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.
Clamp the initial advertised receive window when responding to a SYN/ACK to the maximum allowed window. Growing the window too large would cause an underflow in the calculations in tcp_output() to decide if a window update should be sent which would prevent the persist timer from being started if data was pending and the other end of the connection advertised an initial window size of 0.

Obtained from: FreeBSD

*** empty log message ***

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

  1. … 156 more files in changeset.
f we receive an out of window SYN for an established connection, then ack the syn as required by RFC793

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.
Have TCP Inflight disable itself if RTT is too low.

sysctl net.inet.tcp.inflight.rttthresh specifies the threshold in milliseconds below which it will disengage inflight. It defaults to 10ms.

  1. … 3 more files in changeset.
This commit was generated by cvs2svn to compensate for changes in r5, which included commits to RCS files with non-trunk default branches.

  1. … 6005 more files in changeset.