cvs commit: src/sys/netinet tcp_usrreq.c

2008-05-05 Thread Kip Macy
kmacy 2008-05-05 23:13:27 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: replace spaces added in last change with tabs Revision ChangesPath 1.170 +5 -5 src/sys/netinet/tcp_usrreq.c

cvs commit: src/sys/netinet tcp_usrreq.c

2008-03-01 Thread Robert Watson
rwatson 2008-03-01 11:50:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netinet tcp_usrreq.c Log: Merge tcp_usrreq.c:1.166 from HEAD to RELENG_7: In tcp_ctloutput(), don't hold the inpcb lock over sooptcopyin(), rather, drop the

cvs commit: src/sys/netinet tcp_usrreq.c

2008-01-26 Thread Robert Watson
rwatson 2008-01-26 13:57:33 UTC FreeBSD src repository Modified files:(Branch: RELENG_7_0) sys/netinet tcp_usrreq.c Log: Merge tcp_usrreq.c:1.167 from HEAD to RELENG_7_0: tcp_usrreq.c:1.130 removed tcbinfo locking from tcp_usr_accept(), which while in

cvs commit: src/sys/netinet tcp_usrreq.c

2008-01-23 Thread Robert Watson
rwatson 2008-01-23 21:15:51 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: tcp_usrreq.c:1.313 removed tcbinfo locking from tcp_usr_accept(), which while in principle a good idea, opened us up to a race inherrent to the syncache's direct

cvs commit: src/sys/netinet tcp_usrreq.c

2008-01-23 Thread Robert Watson
rwatson 2008-01-23 23:40:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netinet tcp_usrreq.c Log: Merge tcp_usrreq.c:1.167 from HEAD to RELENG_7: tcp_usrreq.c:1.313 removed tcbinfo locking from tcp_usr_accept(), which while in

cvs commit: src/sys/netinet tcp_usrreq.c

2008-01-18 Thread Robert Watson
rwatson 2008-01-18 12:19:51 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: In tcp_ctloutput(), don't hold the inpcb lock over sooptcopyin(), rather, drop the lock and then re-acquire it, revalidating TCP connection state assumptions when we

cvs commit: src/sys/netinet tcp_usrreq.c

2007-06-15 Thread Matt Jacob
mjacob 2007-06-15 22:54:11 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: Garbage collect some debug code that not only no longer could work but in fact probably causes a random pointer dereferences. Garbage collect the tp variable too.

cvs commit: src/sys/netinet tcp_usrreq.c

2007-05-31 Thread Robert Watson
rwatson 2007-05-31 12:06:02 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: (1) In tcp_usrclosed(), tp can never become NULL, so don't test for NULL before handling the socket disconnection case. (2) Clean up surrounding comments and

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

2007-05-06 Thread Andre Oppermann
andre 2007-05-06 16:04:37 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c tcp_var.h Log: Remove unused requested_s_scale from struct tcpcb. Revision ChangesPath 1.153 +2 -2 src/sys/netinet/tcp_usrreq.c 1.147 +0 -1

cvs commit: src/sys/netinet tcp_usrreq.c

2007-01-08 Thread Sam Leffler
sam 2007-01-08 18:10:12 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_usrreq.c Log: MFC 1.142: change error codes returned by protocol operations when an incpb is dropped [revised for RELENG_6 code base] Reviewed by:

cvs commit: src/sys/netinet tcp_usrreq.c

2006-11-22 Thread Sam Leffler
sam 2006-11-22 17:16:54 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: Change error codes returned by protocol operations when an inpcb is marked INP_DROPPED or INP_TIMEWAIT: o return ECONNRESET instead of EINVAL for close, disconnect,

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

2006-11-22 Thread Sam Leffler
Sam Leffler wrote: sam 2006-11-22 17:16:54 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: Change error codes returned by protocol operations when an inpcb is marked INP_DROPPED or INP_TIMEWAIT: o return ECONNRESET instead of

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

2006-09-27 Thread Maxime Henrion
mux 2006-09-27 09:24:44 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netinet tcp_usrreq.c udp_usrreq.c Log: MFC udp_usrreq.c:1.180 and tcp_usrreq.c:1.128 : Fix a bunch of SYSCTL_INT() that should have been SYSCTL_ULONG() to

cvs commit: src/sys/netinet tcp_usrreq.c

2006-09-17 Thread Andre Oppermann
andre 2006-09-17 13:39:35 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: Make tcp_usr_send() free the passed mbufs on error in all cases as the comment to it claims. Sponsored by: TCP/IP Optimization Fundraise 2005 Revision

cvs commit: src/sys/netinet tcp_usrreq.c

2006-06-26 Thread Robert Watson
rwatson 2006-06-26 09:38:08 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: In tcp6_usr_attach(), return immediately if SS_ISDISCONNECTED, to avoid dereferencing an uninitialized inp variable. Submitted by: Michiel Boland michiel at

cvs commit: src/sys/netinet tcp_usrreq.c

2006-06-04 Thread Robert Watson
rwatson 2006-06-04 09:31:35 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: Push acquisition of pcbinfo lock out of tcp_usr_attach() into tcp_attach() after the call to soreserve(), as it doesn't require the global lock. Rearrange inpcb

cvs commit: src/sys/netinet tcp_usrreq.c

2006-04-24 Thread Robert Watson
rwatson 2006-04-24 08:20:03 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: Instead of calling tcp_usr_detach() from tcp_usr_abort(), break out common pcb tear-down logic into tcp_detach(), which is called from either. Invoke tcp_drop()

cvs commit: src/sys/netinet tcp_usrreq.c

2006-04-03 Thread Robert Watson
rwatson 2006-04-03 12:43:56 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: Clarify comment on handling of non-timewait TCP states in tcp_usr_detach(). MFC after: 3 months Revision ChangesPath 1.135 +7 -5

cvs commit: src/sys/netinet tcp_usrreq.c

2006-04-02 Thread Robert Watson
rwatson 2006-04-02 16:42:52 UTC FreeBSD src repository Modified files: sys/netinet tcp_usrreq.c Log: During reformulation of tcp_usr_detach(), the call to initiate TCP disconnect for fully connected sockets was dropped, meaning that if the socket was closed while