cvs commit: src/sys/netinet tcp_subr.c

2008-09-07 Thread Bjoern A. Zeeb
bz 2008-09-07 15:20:21 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: SVN rev 182848 on 2008-09-07 15:20:21Z by bz V_irtualize SVN r182846 tcp_mssdflt/tcp_v6mssdflt procedure based sysctl implementations for VIMAGE the same way we did

cvs commit: src/sys/netinet tcp_subr.c

2008-09-07 Thread Bjoern A. Zeeb
bz 2008-09-07 14:44:55 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: SVN rev 182846 on 2008-09-07 14:44:55Z by bz Convert SYSCTL_INTs for tcp_mssdflt and tcp_v6mssdflt to SYSCTL_PROCs and check that the default mss for neither v4 nor

cvs commit: src/sys/netinet tcp_subr.c tcp_timer.c

2008-08-01 Thread Robert Watson
rwatson 2008-08-01 10:32:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netinet tcp_subr.c tcp_timer.c Log: SVN rev 181121 on 2008-08-01 10:32:11Z by rwatson Merge r179487 from head to stable/7: When allocating temporary storage t

cvs commit: src/sys/netinet tcp_subr.c tcp_timer.c

2008-06-02 Thread Robert Watson
rwatson 2008-06-02 14:20:44 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c tcp_timer.c Log: SVN rev 179487 on 2008-06-02 14:20:26Z by rwatson When allocating temporary storage to hold a TCP/IP packet header template, use an M_TEMP malloc(9) allo

cvs commit: src/sys/netinet tcp_subr.c

2008-05-29 Thread Robert Watson
rwatson 2008-05-29 14:28:26 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Read lock rather than write lock TCP inpcbs in monitoring sysctls. In some cases, add explicit inpcb locking rather than relying on the global lock, as we dereference

Re: cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h

2007-12-18 Thread Ruslan Ermilov
Hi, On Tue, Dec 18, 2007 at 03:39:17AM +, Peter Wemm wrote: > peter 2007-12-18 03:39:17 UTC > > FreeBSD src repository > > Modified files:(Branch: RELENG_6) > sys/netinet tcp_subr.c tcp_timer.h > Log: > MFC: scale TCPTV_MIN with hz, not a fixed number of t

cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h

2007-12-17 Thread Peter Wemm
peter 2007-12-18 04:13:52 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_3) sys/netinet tcp_subr.c tcp_timer.h Log: MFC: Specify minimum retransmit scale factor in fractions of hz, not ticks. Approved by: re (kensmith) RevisionCh

cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h

2007-12-17 Thread Peter Wemm
peter 2007-12-18 03:39:17 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_subr.c tcp_timer.h Log: MFC: scale TCPTV_MIN with hz, not a fixed number of ticks. Otherwise machines with hz=1000 drop connections in a matter of a few se

cvs commit: src/sys/netinet tcp_subr.c

2007-12-14 Thread Qing Li
qingli 2007-12-14 19:23:32 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_subr.c Log: MFC:-r1.296 use the sequence number comparison macro to compare projected_offset against isn_offset to account for

cvs commit: src/sys/netinet tcp_subr.c

2007-11-28 Thread Bjoern A. Zeeb
bz 2007-11-28 13:23:50 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Correctly get the authentication key for TCP-MD5 from the SA. Submitted by: Nick Hilliard on net@ MFC after: 8 weeks Revision ChangesPath 1.303

Re: cvs commit: src/sys/netinet tcp_subr.c

2007-11-28 Thread Bjoern A. Zeeb
On Wed, 28 Nov 2007, Bjoern A. Zeeb wrote: bz 2007-11-28 13:23:50 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Correctly get the authentication key for TCP-MD5 from the SA. Submitted by: Nick Hilliard on net@ MFC after: 8 weeks sho

cvs commit: src/sys/netinet tcp_subr.c

2007-11-27 Thread Robert Watson
rwatson 2007-11-27 12:22:17 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netinet tcp_subr.c Log: Merge tcp_subr.c:1.302 from HEAD to RELENG_7: More carefully handle various cases in sysctl_drop(), such as unlocking the inpcb when th

cvs commit: src/sys/netinet tcp_subr.c

2007-11-24 Thread Robert Watson
rwatson 2007-11-24 18:43:59 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: More carefully handle various cases in sysctl_drop(), such as unlocking the inpcb when there's an inpcb without associated timewait state, and not unlocking when the in

cvs commit: src/sys/netinet tcp_subr.c

2007-10-05 Thread Robert Watson
rwatson 2007-10-05 22:39:44 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Disable TCP syncache debug logging by default. While useful in debugging problems with the syncache, it produces a lot of console noise and has led to quite a few fals

cvs commit: src/sys/netinet tcp_subr.c tcp_timer.c tcp_timer.h tcp_usrreq.c tcp_var.h

2007-09-23 Thread Mike Silbersack
silby 2007-09-24 05:26:25 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c tcp_timer.c tcp_timer.h tcp_usrreq.c tcp_var.h Log: Two changes: - Reintegrate the ANSI C function declaration change from tcp_timer.c rev 1.9

cvs commit: src/sys/netinet tcp_subr.c tcp_timer.c tcp_timer.h tcp_usrreq.c tcp_var.h

2007-09-07 Thread Robert Watson
rwatson 2007-09-07 09:19:23 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c tcp_timer.c tcp_timer.h tcp_usrreq.c tcp_var.h Log: Back out tcp_timer.c:1.93 and associated changes that reimplemented the many TCP timers as a sing

cvs commit: src/sys/netinet tcp_subr.c

2007-08-15 Thread Qing Li
qingli 2007-08-16 01:35:55 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Use the sequence number comparison macro to compare projected_offset against isn_offset to account for wrap around. Reviewed by:gnn, kmacy, silby Submitted b

Re: cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h

2007-08-02 Thread Don Lewis
On 31 Jul, Peter Wemm wrote: > peter 2007-07-31 22:11:56 UTC > > FreeBSD src repository > > Modified files: > sys/netinet tcp_subr.c tcp_timer.h > Log: > Change TCPTV_MIN to be independent of HZ. While it was documented to > be in ticks "for algorithm stability" whe

Re: cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h

2007-08-01 Thread David Malone
On Wed, Aug 01, 2007 at 06:38:01PM +1000, Peter Jeremy wrote: > My gut feeling is that putting an artifical lower bound on the RTT is > a hackish way to control the retransmit timeout - I thought the TCP > algorithms relied on knowing the real RTT to correctly handle > retransmissions. A variable

Re: cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h

2007-08-01 Thread Garance A Drosehn
At 10:11 PM + 7/31/07, Peter Wemm wrote: The old behavior (with hz=100) caused the connection to typically drop between 90 and 110 seconds of getting no response. Now boot with kern.hz=1000 (default). The same test causes the ssh session to drop after just 9-10 seconds. This is a

Re: cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h

2007-08-01 Thread Peter Jeremy
On 2007-Jul-31 22:11:56 +, Peter Wemm <[EMAIL PROTECTED]> wrote: > To demonstrate, boot with kern.hz=100. ssh to a box on local ethernet > and establish a reliable round-trip-time (ie: type a few commands). > Then unplug the ethernet and press a key. Time how long it takes to > drop the c

cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h

2007-07-31 Thread Peter Wemm
peter 2007-07-31 22:11:56 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c tcp_timer.h Log: Change TCPTV_MIN to be independent of HZ. While it was documented to be in ticks "for algorithm stability" when originally committed, it turns out that it

cvs commit: src/sys/netinet tcp_subr.c

2007-07-04 Thread Peter Wemm
peter 2007-07-05 06:04:46 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Fix a second warning, introduced by my last "fix". I committed the wrong diff from the wrong machine. Pointy hat to: peter Approved by: re (rwatson - blanket, sev

cvs commit: src/sys/netinet tcp_subr.c

2007-05-27 Thread Robert Watson
rwatson 2007-05-27 17:02:54 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Don't assign sp to the value of s when we're about to assign it instead to s + strlen(s). Found with: Coverity Prevent(tm) CID:2243 Revision

cvs commit: src/sys/netinet tcp_subr.c

2007-05-23 Thread Andre Oppermann
andre 2007-05-23 19:07:53 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: In tcp_log_addrs(): o add the hex output of the th_flags field to the example log line in comments o simplify the log line length calculation and make it less

cvs commit: src/sys/netinet tcp_subr.c tcp_var.h

2007-05-11 Thread Andre Oppermann
andre 2007-05-11 18:29:39 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c tcp_var.h Log: Add the timestamp offset to struct tcptw so we can generate proper ACKs in TIME_WAIT state that don't get dropped by the PAWS check on the receiver. Revi

cvs commit: src/sys/netinet tcp_subr.c

2007-05-07 Thread Robert Watson
rwatson 2007-05-07 13:04:25 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: When setting up timewait state for a TCP connection, don't hold the socket lock over a crhold() of so_cred: so_cred is constant after socket creation, so doesn't requir

cvs commit: src/sys/netinet tcp_subr.c

2007-04-18 Thread Andre Oppermann
andre 2007-04-18 18:14:39 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Make tcp_twrespond() use tcp_addoptions() instead of a home grown version. Revision ChangesPath 1.275 +6 -11 src/sys/netinet/tcp_subr.c

cvs commit: src/sys/netinet tcp_subr.c

2007-03-19 Thread Andre Oppermann
andre 2007-03-19 18:53:24 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Match up SYSCTL declaration style. Revision ChangesPath 1.270 +14 -12src/sys/netinet/tcp_subr.c ___ cvs-all@

cvs commit: src/sys/netinet tcp_subr.c

2007-03-16 Thread Robert Watson
rwatson 2007-03-16 13:42:26 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Remove unused and #if 0'd net.inet.tcp.tcp_rttdflt sysctl. Revision ChangesPath 1.269 +0 -6 src/sys/netinet/tcp_subr.c

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-12-31 Thread IOnut
On Sat, 30 Dec 2006 16:03:44 + (UTC) Robert Watson <[EMAIL PROTECTED]> wrote: > rwatson 2006-12-30 16:03:44 UTC > > FreeBSD src repository > > Modified files:(Branch: RELENG_6) > sys/netinet tcp_subr.c > Log: > Merge tcp_subr.c:1.251 from HEAD to RELENG_6: >

cvs commit: src/sys/netinet tcp_subr.c

2006-12-30 Thread John Baldwin
jhb 2006-12-30 17:58:47 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_subr.c Log: MFC: Include the style fix I had included in the other MFC's for the inpcb fixes. RevisionChangesPath 1.228.2.14 +2 -1 src/

cvs commit: src/sys/netinet tcp_subr.c

2006-12-30 Thread John Baldwin
jhb 2006-12-30 17:53:28 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Whitespace fix and remove an extra cast. Revision ChangesPath 1.267 +2 -1 src/sys/netinet/tcp_subr.c ___ cv

cvs commit: src/sys/netinet tcp_subr.c

2006-12-30 Thread Robert Watson
rwatson 2006-12-30 16:03:44 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_subr.c Log: Merge tcp_subr.c:1.251 from HEAD to RELENG_6: Fix race conditions on enumerating pcb lists by moving the initialization (and where appr

cvs commit: src/sys/netinet tcp_subr.c

2006-09-30 Thread Mike Silbersack
silby 2006-10-01 05:33:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_subr.c Log: MFC revs 1.263, 1.264: Limit the number of TIME_WAIT sockets we allocate so that the ephemeral port range can not be exhausted by sockets in T

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-29 Thread Maxim Konovalov
On Fri, 29 Sep 2006, 01:57-0500, Mike Silbersack wrote: > > Gah, they have me using spaces at my new job, so I keep switching back and > forth at inopportune times. > > Good catch... kinda scary that you noticed so quickly, though... You know - big brother is watching you, Mike :-) -- Maxim Kon

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-28 Thread Mike Silbersack
Gah, they have me using spaces at my new job, so I keep switching back and forth at inopportune times. Good catch... kinda scary that you noticed so quickly, though... Mike "Silby" Silbersack On Fri, 29 Sep 2006, Maxim Konovalov wrote: maxim 2006-09-29 06:46:31 UTC FreeBSD src repo

cvs commit: src/sys/netinet tcp_subr.c

2006-09-28 Thread Maxim Konovalov
maxim 2006-09-29 06:46:31 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: o Convert w/spaces to tabs in the previous commit. Revision ChangesPath 1.264 +3 -3 src/sys/netinet/tcp_subr.c

cvs commit: src/sys/netinet tcp_subr.c

2006-09-28 Thread Mike Silbersack
silby 2006-09-29 06:24:26 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Rather than autoscaling the number of TIME_WAIT sockets to maxsockets / 5, scale it to min(ephemeral port range / 2, maxsockets / 5) so that people with large gobs of m

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-12 Thread Yar Tikhiy
On Tue, Sep 12, 2006 at 08:59:42AM +0200, Alexander Leidinger wrote: > Quoting Yar Tikhiy <[EMAIL PROTECTED]> (from Tue, 12 Sep 2006 > 02:38:13 +0400): > > >OTOH, there are enough sysctl names containing an underscore to > >encourage using it in complex names. An exception could be made > >for

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-12 Thread Yar Tikhiy
On Tue, Sep 12, 2006 at 11:25:18AM +0900, [EMAIL PROTECTED] wrote: > At Tue, 12 Sep 2006 02:38:13 +0400, > Yar Tikhiy wrote: > > > > On Mon, Sep 11, 2006 at 06:28:26PM +0400, Gleb Smirnoff wrote: > > > On Mon, Sep 11, 2006 at 12:36:57AM -0500, Mike Silbersack wrote: > > > M> >It stops creating any

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-12 Thread Alexander Leidinger
Quoting Yar Tikhiy <[EMAIL PROTECTED]> (from Tue, 12 Sep 2006 02:38:13 +0400): OTOH, there are enough sysctl names containing an underscore to encourage using it in complex names. An exception could be made for really short names, such as consisting of not more than 2 words, each being not lo

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-11 Thread Ruslan Ermilov
On Tue, Sep 12, 2006 at 02:38:13AM +0400, Yar Tikhiy wrote: > On Mon, Sep 11, 2006 at 06:28:26PM +0400, Gleb Smirnoff wrote: > > On Mon, Sep 11, 2006 at 12:36:57AM -0500, Mike Silbersack wrote: > > M> >It stops creating any state (nor socket neither compressed tcptw) for > > the > > M> >TCP connec

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-11 Thread Mike Silbersack
On Mon, 11 Sep 2006, Gleb Smirnoff wrote: OOh, the sysctl name and its description were discussed with ru@, who is our famous nitpicker. If you want to change name or description - mail to him. /me hides -- Totus tuus, Glebius. Ok, ok. Just turn it on by default, please! Mike "Silby" Silbe

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-11 Thread gnn
At Tue, 12 Sep 2006 02:38:13 +0400, Yar Tikhiy wrote: > > On Mon, Sep 11, 2006 at 06:28:26PM +0400, Gleb Smirnoff wrote: > > On Mon, Sep 11, 2006 at 12:36:57AM -0500, Mike Silbersack wrote: > > M> >It stops creating any state (nor socket neither compressed tcptw) for > > the > > M> >TCP connectio

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-11 Thread Yar Tikhiy
On Mon, Sep 11, 2006 at 06:28:26PM +0400, Gleb Smirnoff wrote: > On Mon, Sep 11, 2006 at 12:36:57AM -0500, Mike Silbersack wrote: > M> >It stops creating any state (nor socket neither compressed tcptw) for the > M> >TCP connection, where both endpoints were local. This save a lot of > M> >resources

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-11 Thread Gleb Smirnoff
On Mon, Sep 11, 2006 at 12:36:57AM -0500, Mike Silbersack wrote: M> >It stops creating any state (nor socket neither compressed tcptw) for the M> >TCP connection, where both endpoints were local. This save a lot of M> >resources on servers running HTTP accelerators, or database M> >servers+clients

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-10 Thread Mike Silbersack
On Fri, 8 Sep 2006, Gleb Smirnoff wrote: It stops creating any state (nor socket neither compressed tcptw) for the TCP connection, where both endpoints were local. This save a lot of resources on servers running HTTP accelerators, or database servers+clients. -- Totus tuus, Glebius. I think

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-08 Thread Gleb Smirnoff
On Fri, Sep 08, 2006 at 10:04:03AM -0500, Mike Silbersack wrote: M> > FreeBSD src repository M> > M> > Modified files: M> > sys/netinet tcp_subr.c M> > Log: M> > Add a sysctl net.inet.tcp.nolocaltimewait that allows to suppress M> > creating a compress TIME WAIT states, if both connectio

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-09-08 Thread Mike Silbersack
On Fri, 8 Sep 2006, Gleb Smirnoff wrote: glebius 2006-09-08 13:09:16 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Add a sysctl net.inet.tcp.nolocaltimewait that allows to suppress creating a compress TIME WAIT states, if both connection endpoints

cvs commit: src/sys/netinet tcp_subr.c

2006-09-08 Thread Gleb Smirnoff
glebius 2006-09-08 13:09:16 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Add a sysctl net.inet.tcp.nolocaltimewait that allows to suppress creating a compress TIME WAIT states, if both connection endpoints are local. Default is off. Rev

cvs commit: src/sys/netinet tcp_subr.c

2006-09-05 Thread Mohan Srinivasan
mohans 2006-09-05 19:18:42 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_subr.c Log: MFC: Fix for a bug that causes the computation of "len" in tcp_output() to get messed up, resulting in an inconsistency between the TCP sta

cvs commit: src/sys/netinet tcp_subr.c

2006-09-05 Thread Gleb Smirnoff
glebius 2006-09-05 14:00:59 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Finally fix rev. 1.256 Pointy hat to: glebius Revision ChangesPath 1.258 +4 -3 src/sys/netinet/tcp_subr.c ___

cvs commit: src/sys/netinet tcp_subr.c

2006-09-05 Thread Gleb Smirnoff
glebius 2006-09-05 12:22:54 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Remove extra parenthesis in last commit. Nitpicked by: ru Revision ChangesPath 1.257 +2 -2 src/sys/netinet/tcp_subr.c __

cvs commit: src/sys/netinet tcp_subr.c

2006-09-05 Thread Gleb Smirnoff
glebius 2006-09-05 12:08:47 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: - Make net.inet.tcp.maxtcptw modifiable at run time. - If net.inet.tcp.maxtcptw was ever set explicitly, do not change it if kern.ipc.maxsockets is changed. Revi

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-08-28 Thread John Baldwin
On Saturday 26 August 2006 13:53, Mohan Srinivasan wrote: > mohans 2006-08-26 17:53:19 UTC > > FreeBSD src repository > > Modified files: > sys/netinet tcp_subr.c > Log: > Fix for a bug that causes the computation of "len" in tcp_output() to > get messed up, resulting

cvs commit: src/sys/netinet tcp_subr.c

2006-08-26 Thread Mohan Srinivasan
mohans 2006-08-26 17:53:19 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Fix for a bug that causes the computation of "len" in tcp_output() to get messed up, resulting in an inconsistency between the TCP state and so_snd. Revision Chan

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-08-02 Thread Robert Watson
On Wed, 2 Aug 2006, Steve Kargl wrote: On Wed, Aug 02, 2006 at 04:18:05PM +, Robert Watson wrote: Modified files: sys/netinet tcp_subr.c Log: Move soisdisconnected() in tcp_discardcb() to one of its calling contexts, tcp_twstart(), but not to the other, tcp_detach(),

Re: cvs commit: src/sys/netinet tcp_subr.c

2006-08-02 Thread Steve Kargl
On Wed, Aug 02, 2006 at 04:18:05PM +, Robert Watson wrote: > > Modified files: > sys/netinet tcp_subr.c > Log: > Move soisdisconnected() in tcp_discardcb() to one of its calling contexts, > tcp_twstart(), but not to the other, tcp_detach(), as the socket is > already be

cvs commit: src/sys/netinet tcp_subr.c

2006-08-02 Thread Robert Watson
rwatson 2006-08-02 16:18:05 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Move soisdisconnected() in tcp_discardcb() to one of its calling contexts, tcp_twstart(), but not to the other, tcp_detach(), as the socket is already being torn down a

cvs commit: src/sys/netinet tcp_subr.c

2006-04-23 Thread Robert Watson
rwatson 2006-04-23 12:27:42 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Replace isn_mtx direct use with ISN_*() lock macros so that locking details/strategy can be changed without touching every use. MFC after: 3 months Revisio

cvs commit: src/sys/netinet tcp_subr.c

2006-04-22 Thread Robert Watson
rwatson 2006-04-22 19:23:24 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Introduce a new TCP mutex, isn_mtx, which protects the initial sequence number state, rather than re-using pcbinfo. This introduces some additional mutex operations du

cvs commit: src/sys/netinet tcp_subr.c

2006-04-04 Thread Gleb Smirnoff
glebius 2006-04-04 14:31:37 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Add a tunable net.inet.tcp.maxtcptw, that allows to set a limit on tcptw zone independently from setting a limit on socket zone. Revision ChangesPath 1.246

cvs commit: src/sys/netinet tcp_subr.c

2006-04-03 Thread Robert Watson
rwatson 2006-04-03 14:07:50 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: In TCP notify routines, check inpcb for INP_TIMEWAIT and INP_DROPPED. The INP_DROPPED check replaces the current NULL checks; the INP_TIMEWAIT checks appear to have alw

cvs commit: src/sys/netinet tcp_subr.c

2006-04-03 Thread Robert Watson
rwatson 2006-04-03 12:59:28 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Style tweaks: convert to ANSI from K&R function prototypes. MFC after: 3 months Revision ChangesPath 1.242 +26 -59src/sys/netinet/tcp_subr.c _

cvs commit: src/sys/netinet tcp_subr.c

2006-04-03 Thread Robert Watson
rwatson 2006-04-03 12:52:14 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Update comment on tcp_close() for new world order. MFC after: 3 months Revision ChangesPath 1.241 +2 -4 src/sys/netinet/tcp_subr.c __

cvs commit: src/sys/netinet tcp_subr.c

2006-04-03 Thread Robert Watson
rwatson 2006-04-03 11:57:13 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Fix up locking surrounding tcp_drop sysctl: in the new world order, we don't free inpcbs until after the socket is closed, so we always need to unlock an inpcb after ca

cvs commit: src/sys/netinet tcp_subr.c tcp_usrreq.c

2006-04-01 Thread Robert Watson
rwatson 2006-04-01 23:53:25 UTC FreeBSD src repository Modified files: sys/netinet tcp_subr.c tcp_usrreq.c Log: Properly handle an edge case previously not handled correctly: a socket can have a tcp connection that has entered time wait attached to it, in the event t