History log of /netbsd-src/sys/netinet/tcp_sack.c (Results 1 – 25 of 36)
Revision Date Author Comments
# a1d8c752 18-May-2018 maxv <maxv@NetBSD.org>

IP6_EXTHDR_GET -> M_REGION_GET, no functional change.


# 5d73803e 03-May-2018 maxv <maxv@NetBSD.org>

Remove now unused tcpip.h includes. Some were already unused before.


# 6ad323e9 29-Mar-2018 maxv <maxv@NetBSD.org>

Remove #ifdef INET. Same as tcp_input.c. Makes the code easier to
understand.

Also make tcp6_mtudisc() static in tcp_subr.c.


# 44375ea9 13-Dec-2016 ozaki-r <ozaki-r@NetBSD.org>

Remove unnecessary inclusions of nd6.h


# 1c4a50f1 24-Aug-2015 pooka <pooka@NetBSD.org>

sprinkle _KERNEL_OPT


# 71b1eb47 31-Mar-2015 ozaki-r <ozaki-r@NetBSD.org>

Remove unnecessary opt_ipsec.h inclusions


# fcc99ce6 10-Nov-2014 maxv <maxv@NetBSD.org>

Do not uselessly include <sys/malloc.h>.


# 4d4f2b7d 12-Nov-2013 kefren <kefren@NetBSD.org>

* implement TCP CUBIC congestion control algorithm
* move tcp_sack_newack bits inside reno and newreno_fast_retransmit_newack
* notify ECN peer about cwnd shrink in [new]reno_slow_retransmit

Based o

* implement TCP CUBIC congestion control algorithm
* move tcp_sack_newack bits inside reno and newreno_fast_retransmit_newack
* notify ECN peer about cwnd shrink in [new]reno_slow_retransmit

Based on the patch proposed on tech-net@ on Nov 7 with minor improvments:
* adapt wmax for no-fast convergence case
* correct cbrt calculation for big window sizes (>750KB)

show more ...


# 4b50cb78 30-Jan-2012 matt <matt@NetBSD.org>

Use proper ANSI prototypes for foo() -> foo(void)
Caught when compiling with -Wold-style-definition


# 3eb244d8 17-Jul-2011 joerg <joerg@NetBSD.org>

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce a

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

show more ...


# c9cf49ac 14-Apr-2011 yamt <yamt@NetBSD.org>

- comments
- whitespace


# 9d2101a2 27-May-2009 pooka <pooka@NetBSD.org>

POOL_INIT -> pool_init


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 59d979c5 12-Mar-2007 ad <ad@NetBSD.org>

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.


# 80e1bbb7 21-Oct-2006 yamt <yamt@NetBSD.org>

add sack_dump(), a function to dump sack holes, if defined(DDB).


# c31e2223 21-Oct-2006 yamt <yamt@NetBSD.org>

- constify.
- make tcp_dooptions and tcpipqent_pool static.


# 78f5b5f9 20-Oct-2006 reinoud <reinoud@NetBSD.org>

Fix alignment problems causing regular panics in tpc_sack_option on
NetBSD/alpha and NetBSD/sparc. This fixes PR#34751.

The problem most likely started to show in gcc4 and is caused by the use of
a

Fix alignment problems causing regular panics in tpc_sack_option on
NetBSD/alpha and NetBSD/sparc. This fixes PR#34751.

The problem most likely started to show in gcc4 and is caused by the use of
a casting to an uint32_t pointer that is later copied from using memcpy.
Gcc detects the copying of 4 bytes from an uint32_t pointer and decides to
just replace it with an aligned copy causing the trap.

Fix provided by Izumi Tsutsui and ok'd by Martin.

show more ...


# 94e70819 07-Oct-2006 yamt <yamt@NetBSD.org>

- make sackhole_pool static.
- unify duplicated hole allocation and accounting code.
(no functional changes.)


# 5a0a4d9d 07-Oct-2006 yamt <yamt@NetBSD.org>

revert tcp_sack.c rev.1.15 because it's unnecessary.
all callers of these functions are at splsoftnet already:
tcp_sack_option
tcp_input ok

tcp_del_sackholes
tcp_input ok

tcp_free_sackholes

revert tcp_sack.c rev.1.15 because it's unnecessary.
all callers of these functions are at splsoftnet already:
tcp_sack_option
tcp_input ok

tcp_del_sackholes
tcp_input ok

tcp_free_sackholes
tcp_close ok
tcp_timer_rexmt ok
tcp_timer_2msl ok

show more ...


# 8f0e8c48 07-Oct-2006 yamt <yamt@NetBSD.org>

tcp_sack_output: whitespace.


# c1f8725a 07-Oct-2006 yamt <yamt@NetBSD.org>

tcp_del_sackholes: whitespace.


# 8cc016b4 05-Oct-2006 tls <tls@NetBSD.org>

Protect calls to pool_put/pool_get that may occur in interrupt context
with spl used to protect other allocations and frees, or datastructure
element insertion and removal, in adjacent code.

It is a

Protect calls to pool_put/pool_get that may occur in interrupt context
with spl used to protect other allocations and frees, or datastructure
element insertion and removal, in adjacent code.

It is almost unquestionably the case that some of the spl()/splx() calls
added here are superfluous, but it really seems wrong to see:

s=splfoo();
/* frob data structure */
splx(s);
pool_put(x);

and if we think we need to protect the first operation, then it is hard
to see why we should not think we need to protect the next. "Better
safe than sorry".

It is also almost unquestionably the case that I missed some pool
gets/puts from interrupt context with my strategy for finding these
calls; use of PR_NOWAIT is a strong hint that a pool may be used from
interrupt context but many callers in the kernel pass a "can wait/can't
wait" flag down such that my searches might not have found them. One
notable area that needs to be looked at is pf.

See also:

http://mail-index.netbsd.org/tech-kern/2006/07/19/0003.html
http://mail-index.netbsd.org/tech-kern/2006/07/19/0009.html

show more ...


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# b8690cc2 08-May-2005 yamt <yamt@NetBSD.org>

tcp_sack_option: ignore sack beyond snd_max.


# f7707899 05-Apr-2005 kurahone <kurahone@NetBSD.org>

Added sysctl tunable limits for the number of maximum SACK holes
per connection and per system.

Idea taken from FreeBSD.


12