svn commit: r218211 - in head/sys: conf netinet

2011-02-03 Thread Randall Stewart
Author: rrs Date: Thu Feb 3 10:05:30 2011 New Revision: 218211 URL: http://svn.freebsd.org/changeset/base/218211 Log: Adds an experimental option to create a pool of threads. These serve as input threads and are queued packets based on the V-tag number. This is similar to what a modern

svn commit: r218219 - head/sys/netinet

2011-02-03 Thread Randall Stewart
(r218218) +++ head/sys/netinet/sctp_pcb.c Thu Feb 3 11:52:22 2011(r218219) @@ -1,5 +1,8 @@ /*- * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2008-2011, by Randall Stewart, r...@lakerest.net and + * Michael Tuexen

Re: svn commit: r218219 - head/sys/netinet

2011-02-03 Thread Randall Stewart
John: Ahh.. thanks for the information .. I did not know that. I will change it to use it.. Before it was using the define.. which as Julian said a while ago was a bad idea. R On Feb 3, 2011, at 7:45 AM, John Baldwin wrote: On Thursday, February 03, 2011 6:52:22 am Randall Stewart wrote

svn commit: r218232 - head/sys/netinet

2011-02-03 Thread Randall Stewart
-2007, by Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2008-2011, by Randall Stewart, r...@lakerest.net and + * Michael Tuexen, tue...@fh-muenster.de + * All rights reserved. * * Redistribution and use in source and binary forms

svn commit: r218186 - head/sys/netinet

2011-02-02 Thread Randall Stewart
Author: rrs Date: Wed Feb 2 11:13:23 2011 New Revision: 218186 URL: http://svn.freebsd.org/changeset/base/218186 Log: 1) Allow a chunk to track the cwnd it was at when sent. 2) Add separate max-bursts for retransmit and hb. These are set to sysctlable values but not settable via the

svn commit: r218129 - head/sys/netinet

2011-01-31 Thread Randall Stewart
Author: rrs Date: Mon Jan 31 11:50:11 2011 New Revision: 218129 URL: http://svn.freebsd.org/changeset/base/218129 Log: More ECN fixes: 1) We now remove ECN-Nonce since it will no longer continue as a I-D 2) Eliminate last_tsn_echo, this tied us to an assoc not the net and thus we were

svn commit: r218072 - head/sys/netinet

2011-01-29 Thread Randall Stewart
Author: rrs Date: Sat Jan 29 19:55:29 2011 New Revision: 218072 URL: http://svn.freebsd.org/changeset/base/218072 Log: Fixes to ECN in SCTP. 1) ECN was on an association basis, this is incorrect and will not work with CMT or for that matter if the user is sending to multiple

svn commit: r218037 - head/sys/netinet

2011-01-28 Thread Randall Stewart
Author: rrs Date: Fri Jan 28 20:49:15 2011 New Revision: 218037 URL: http://svn.freebsd.org/changeset/base/218037 Log: Fix a bug in the way ECN-Echo chunk sends were being accounted for. The counting was such that we counted only when we queued a chunk, not when we sent it. Now keep an

svn commit: r218039 - head/sys/netinet

2011-01-28 Thread Randall Stewart
Author: rrs Date: Fri Jan 28 21:05:21 2011 New Revision: 218039 URL: http://svn.freebsd.org/changeset/base/218039 Log: Keep track of the real last RTT on each net. This will be used for Data Center congestion control, we won't want to engage it in the ECN code unless we KNOW that the RTT

svn commit: r217635 - head/sys/netinet

2011-01-20 Thread Randall Stewart
Author: rrs Date: Thu Jan 20 12:40:09 2011 New Revision: 217635 URL: http://svn.freebsd.org/changeset/base/217635 Log: Fix it so we align with new socket API draft for state's in destination (i.e. ACTIVE/INACTIVE/UNCONFIRMED) MFC after:1 week Modified:

svn commit: r217592 - head/sys/netinet

2011-01-19 Thread Randall Stewart
Author: rrs Date: Wed Jan 19 19:07:16 2011 New Revision: 217592 URL: http://svn.freebsd.org/changeset/base/217592 Log: Fix a bug where Multicast packets sent from a udp endpoint may end up echoing back to the sender even with OUT joining the multi-cast group. Reviewed by: gnn, bms,

svn commit: r217597 - head/sys/netinet

2011-01-19 Thread Randall Stewart
Author: rrs Date: Wed Jan 19 20:57:08 2011 New Revision: 217597 URL: http://svn.freebsd.org/changeset/base/217597 Log: Fix style 9 nit that snuck in when I grabbed the wrong patch ;-0 (thanks Daniel) MFC after:1 week Modified: head/sys/netinet/udp_usrreq.c Modified:

svn commit: r215816 - stable/8/sys/netinet

2010-11-25 Thread Randall Stewart
Author: rrs Date: Thu Nov 25 12:10:59 2010 New Revision: 215816 URL: http://svn.freebsd.org/changeset/base/215816 Log: MFC of 215110: Fix so that a multicast packet can be sent even if there is no route out to that mcast address. The code in in_pcb inadvertantly would error (no route)

svn commit: r215817 - head/sys/netinet

2010-11-25 Thread Randall Stewart
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/netinet/sctp_dtrace_declare.h Thu Nov 25 13:39:55 2010 (r215817) @@ -0,0 +1,73 @@ +/*- + * Copyright (c) 2010, by Randall Stewart Michael Tuexen, + * All rights reserved. + * + * Redistribution and use

svn commit: r215110 - head/sys/netinet

2010-11-10 Thread Randall Stewart
Author: rrs Date: Thu Nov 11 05:40:39 2010 New Revision: 215110 URL: http://svn.freebsd.org/changeset/base/215110 Log: Fix so that a multicast packet can be sent even if there is no route out to that mcast address. The code in in_pcb inadvertantly would error (no route) even though the

svn commit: r214466 - stable/8/sys/netinet

2010-10-28 Thread Randall Stewart
Author: rrs Date: Thu Oct 28 17:17:45 2010 New Revision: 214466 URL: http://svn.freebsd.org/changeset/base/214466 Log: MFC of 212225 Fix some CLANG warnings. One clang warning is left due to the fact that its bogus.. nam-sa_family will not change from AF_INET6 to AF_INET (but clang

svn commit: r214388 - stable/8/sys/netinet

2010-10-26 Thread Randall Stewart
Author: rrs Date: Tue Oct 26 18:56:55 2010 New Revision: 214388 URL: http://svn.freebsd.org/changeset/base/214388 Log: MFC of 209644 Log is: Fix a bug that will cause a panic. Basically a read-lock is being called to check the vtag-timewait cache. Then in two cases (where a vtag is bad

svn commit: r214389 - stable/8/sys/netinet

2010-10-26 Thread Randall Stewart
Author: rrs Date: Tue Oct 26 18:59:36 2010 New Revision: 214389 URL: http://svn.freebsd.org/changeset/base/214389 Log: MFC of 209663 This fixes a crash in SCTP. It was possible to have a large number of packets queued to a crashing process. In a specific case you may get 2 ABORT's back

svn commit: r214391 - stable/8/lib/libc/net

2010-10-26 Thread Randall Stewart
Author: rrs Date: Tue Oct 26 19:01:56 2010 New Revision: 214391 URL: http://svn.freebsd.org/changeset/base/214391 Log: MFC: 209760 If a user calls sctp_sendx() with a NULL sinfo we will crash. Instead we should provide our own temp structure to use internally. Modified:

svn commit: r214392 - stable/8/sys/netinet

2010-10-26 Thread Randall Stewart
Author: rrs Date: Tue Oct 26 19:04:05 2010 New Revision: 214392 URL: http://svn.freebsd.org/changeset/base/214392 Log: MFC:210493 When counting the number of chunks in the retransmission queue to validate the retran count, we need to include the chunks in the control send queue too.

svn commit: r214393 - stable/8/sys/netinet

2010-10-26 Thread Randall Stewart
Author: rrs Date: Tue Oct 26 19:06:31 2010 New Revision: 214393 URL: http://svn.freebsd.org/changeset/base/214393 Log: MFC:210494 Make sure that we report chunks if a socket still exists that were not sent. In either case carefully remove the data if it does not get taken by the

svn commit: r214394 - stable/8/sys/netinet

2010-10-26 Thread Randall Stewart
Author: rrs Date: Tue Oct 26 19:08:26 2010 New Revision: 214394 URL: http://svn.freebsd.org/changeset/base/214394 Log: MFC:210599 PR SCTP Bugs. Basically a full sized frame of PR SCTP FWD-TSN's would not be sent and thus cause a stalled connection. Also the rwnd Calculation was also

svn commit: r214397 - stable/8/sys/netinet

2010-10-26 Thread Randall Stewart
Author: rrs Date: Tue Oct 26 19:12:37 2010 New Revision: 214397 URL: http://svn.freebsd.org/changeset/base/214397 Log: MFC:210600 Fix the comment block that has the nice table to really have the nice table :-) Modified: stable/8/sys/netinet/sctp_output.c Directory Properties:

svn commit: r213752 - svnadmin/conf

2010-10-12 Thread Randall Stewart
Author: rrs Date: Tue Oct 12 22:09:33 2010 New Revision: 213752 URL: http://svn.freebsd.org/changeset/base/213752 Log: This commit removes Bruce Cran from mentiship ;-) Congratulations Bruce keep up the good work. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

svn commit: r212225 - head/sys/netinet

2010-09-05 Thread Randall Stewart
Author: rrs Date: Sun Sep 5 13:41:45 2010 New Revision: 212225 URL: http://svn.freebsd.org/changeset/base/212225 Log: Fix some CLANG warnings. One clang warning is left due to the fact that its bogus.. nam-sa_family will not change from AF_INET6 to AF_INET (but clang thinks it does ;-D)

svn commit: r210599 - head/sys/netinet

2010-07-29 Thread Randall Stewart
Author: rrs Date: Thu Jul 29 11:37:04 2010 New Revision: 210599 URL: http://svn.freebsd.org/changeset/base/210599 Log: PR SCTP Bugs. Basically a full sized frame of PR SCTP FWD-TSN's would not be sent and thus cause a stalled connection. Also the rwnd Calculation was also off on the

svn commit: r210600 - head/sys/netinet

2010-07-29 Thread Randall Stewart
Author: rrs Date: Thu Jul 29 12:01:59 2010 New Revision: 210600 URL: http://svn.freebsd.org/changeset/base/210600 Log: Fix the comment block that has the nice table to really have the nice table :-) MFC after:1 month Modified: head/sys/netinet/sctp_output.c Modified:

svn commit: r210493 - head/sys/netinet

2010-07-26 Thread Randall Stewart
Author: rrs Date: Mon Jul 26 09:20:55 2010 New Revision: 210493 URL: http://svn.freebsd.org/changeset/base/210493 Log: When counting the number of chunks in the retransmission queue to validate the retran count, we need to include the chunks in the control send queue too. Otherwise the

svn commit: r210494 - head/sys/netinet

2010-07-26 Thread Randall Stewart
Author: rrs Date: Mon Jul 26 09:22:52 2010 New Revision: 210494 URL: http://svn.freebsd.org/changeset/base/210494 Log: Make sure that we report chunks if a socket still exists that were not sent. In either case carefully remove the data if it does not get taken by the reporting routines.

svn commit: r209794 - svnadmin/conf

2010-07-08 Thread Randall Stewart
Author: rrs Date: Thu Jul 8 11:21:11 2010 New Revision: 209794 URL: http://svn.freebsd.org/changeset/base/209794 Log: This releases JC from mentorship. He has shown an outstanding ability to work in the community and I think he is Ready ;-) Modified: svnadmin/conf/mentors Modified:

svn commit: r209760 - head/lib/libc/net

2010-07-07 Thread Randall Stewart
Author: rrs Date: Wed Jul 7 11:19:06 2010 New Revision: 209760 URL: http://svn.freebsd.org/changeset/base/209760 Log: If a user calls sctp_sendx() with a NULL sinfo we will crash. Instead we should provide our own temp structure to use internally. MFC after:1 month Modified:

svn commit: r209663 - head/sys/netinet

2010-07-03 Thread Randall Stewart
Author: rrs Date: Sat Jul 3 14:03:31 2010 New Revision: 209663 URL: http://svn.freebsd.org/changeset/base/209663 Log: This fixes a crash in SCTP. It was possible to have a large number of packets queued to a crashing process. In a specific case you may get 2 ABORT's back (from say two

svn commit: r209644 - head/sys/netinet

2010-07-02 Thread Randall Stewart
Author: rrs Date: Fri Jul 2 09:53:26 2010 New Revision: 209644 URL: http://svn.freebsd.org/changeset/base/209644 Log: Fix a bug that WILL cause a panic. Basically a read-lock is being called to check the vtag-timewait cache. Then in two cases (where a vtag is bad i.e. in the time-wait

svn commit: r209028 - stable/8/sys/netinet

2010-06-10 Thread Randall Stewart
Author: rrs Date: Fri Jun 11 03:13:19 2010 New Revision: 209028 URL: http://svn.freebsd.org/changeset/base/209028 Log: MFC: Fix a number of bugs and race conditions. r208160: Bring back of the iterator thread. It now properly handles VNETS having only one thread. The old timer

svn commit: r209029 - head/sys/netinet

2010-06-10 Thread Randall Stewart
Author: rrs Date: Fri Jun 11 03:54:00 2010 New Revision: 209029 URL: http://svn.freebsd.org/changeset/base/209029 Log: 3 Fixes - a) There was a case where a ICMP message could cause us to return leaving a stuck lock on an stcb. b) The iterator needed some tweaks to fix its lock

svn commit: r208952 - head/sys/netinet

2010-06-09 Thread Randall Stewart
Author: rrs Date: Wed Jun 9 16:39:18 2010 New Revision: 208952 URL: http://svn.freebsd.org/changeset/base/208952 Log: BUG:Turns out we need to use both bit maps to calculate the cum-ack (we were not doing it for the NR-Sack case). With this fix NR-sack should now work correctly. MFC

svn commit: r208953 - head/sys/netinet

2010-06-09 Thread Randall Stewart
Author: rrs Date: Wed Jun 9 16:42:42 2010 New Revision: 208953 URL: http://svn.freebsd.org/changeset/base/208953 Log: Fix serveral bugs all having to do with freeing an sctp_inpcb: 1) Make sure not to remove the flag on the PCB until after the close() caller is back in control with

svn commit: r208970 - head/sys/netinet

2010-06-09 Thread Randall Stewart
Author: rrs Date: Wed Jun 9 22:05:29 2010 New Revision: 208970 URL: http://svn.freebsd.org/changeset/base/208970 Log: Found by Michael. In cases where we run out of memory (no more inp space) we don't propely NULL the INP on return. Obtained from:tuexen MFC after:3 Days

svn commit: r208891 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Author: rrs Date: Mon Jun 7 11:33:20 2010 New Revision: 208891 URL: http://svn.freebsd.org/changeset/base/208891 Log: Opps... my bad.. we don't need a SOCK_UNLOCK() after calling socantrcvmore_locked() since it will unlock the lock for you. MFC after:1 week Modified:

svn commit: r208897 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Author: rrs Date: Mon Jun 7 18:29:10 2010 New Revision: 208897 URL: http://svn.freebsd.org/changeset/base/208897 Log: This fixes a BUG in the handling of the cum-ack calculation. We were only paying attention to the nr-mapping-array. Which seems to make sense on the surface, by definition

Re: svn commit: r208876 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Cool... I will move these over to that assert... And the invariant is ok since this function only is there when you compile invariant in. R On Jun 7, 2010, at 1:07 PM, Pawel Jakub Dawidek wrote: On Sun, Jun 06, 2010 at 04:11:17PM +, Randall Stewart wrote: Author: rrs Date: Sun Jun 6 16

svn commit: r208902 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Author: rrs Date: Tue Jun 8 03:39:31 2010 New Revision: 208902 URL: http://svn.freebsd.org/changeset/base/208902 Log: 2 Bugs: 1) Only use both mapping arrays when NR sack is off. This way we can hold off moving the cumack (not the best but workable) when NR-sack is on. 2)

svn commit: r208874 - head/sys/netinet

2010-06-06 Thread Randall Stewart
Author: rrs Date: Sun Jun 6 16:07:40 2010 New Revision: 208874 URL: http://svn.freebsd.org/changeset/base/208874 Log: Fix a bug in sctp_abort_assoc(). DON'T call the sctp_inpcb_free when the gone flag is set. You don't know what locks the caller has set and there is already a kill timer

svn commit: r208875 - head/sys/netinet

2010-06-06 Thread Randall Stewart
Author: rrs Date: Sun Jun 6 16:09:12 2010 New Revision: 208875 URL: http://svn.freebsd.org/changeset/base/208875 Log: Fix a bug in the sctp_inpcb_free. Basically if the socket was setup to do an abortive close an association that was in the accept_queue could get stuck and never freed. Now

svn commit: r208876 - head/sys/netinet

2010-06-06 Thread Randall Stewart
Author: rrs Date: Sun Jun 6 16:11:16 2010 New Revision: 208876 URL: http://svn.freebsd.org/changeset/base/208876 Log: 1) Further enhance the INVARIANT lock validation (no locks) are held by checking the create and inp locks as well. 2) Fix a bug in that when a socket is closed an

svn commit: r208878 - head/sys/netinet

2010-06-06 Thread Randall Stewart
Author: rrs Date: Sun Jun 6 19:24:32 2010 New Revision: 208878 URL: http://svn.freebsd.org/changeset/base/208878 Log: Ok, yet another bug in killing off all the hundreds of apitesters.. Basically we end up with attempting to destroy a lock thats contended on. A cookie echo arrives at the

svn commit: r208879 - head/sys/netinet

2010-06-06 Thread Randall Stewart
Author: rrs Date: Sun Jun 6 20:34:17 2010 New Revision: 208879 URL: http://svn.freebsd.org/changeset/base/208879 Log: 1) Optimize the cleanup and don't always depend on the timer. This is done by considering the locks we will destroy and if they are contended we consider it the

svn commit: r208883 - head/sys/netinet

2010-06-06 Thread Randall Stewart
Author: rrs Date: Mon Jun 7 04:01:38 2010 New Revision: 208883 URL: http://svn.freebsd.org/changeset/base/208883 Log: Fix so we call socantrcvmore_locked so we don't see a race where we unlock to call the non-locked version and have the socket go away. MFC after:1 week

svn commit: r208852 - head/sys/netinet

2010-06-05 Thread Randall Stewart
Author: rrs Date: Sat Jun 5 21:17:23 2010 New Revision: 208852 URL: http://svn.freebsd.org/changeset/base/208852 Log: This fixes a bug in the close up of a socket that had un-accepted assoc's. Basically the assoc (and inp) would get stuck and never get cleaned up. MFC after:1 week

svn commit: r208853 - head/sys/netinet

2010-06-05 Thread Randall Stewart
Author: rrs Date: Sat Jun 5 21:20:28 2010 New Revision: 208853 URL: http://svn.freebsd.org/changeset/base/208853 Log: This does two changes: 1) Makes it so that the INVARIANT function validate nolocks is available anywhere. 2) Fixes a BUG where a close has been done on a collision

svn commit: r208854 - head/sys/netinet

2010-06-05 Thread Randall Stewart
Author: rrs Date: Sat Jun 5 21:22:58 2010 New Revision: 208854 URL: http://svn.freebsd.org/changeset/base/208854 Log: Use the proper increment macro when increasing the number on sent_queue_retran_cnt. MFC after:1 week Modified: head/sys/netinet/sctp_indata.c Modified:

svn commit: r208855 - head/sys/netinet

2010-06-05 Thread Randall Stewart
Author: rrs Date: Sat Jun 5 21:27:43 2010 New Revision: 208855 URL: http://svn.freebsd.org/changeset/base/208855 Log: This change does the following: 1) Fix the alignment of a comment. 2) Fix a BUG where we were NOT paying attention to the RESEND marking on retransmitting control

svn commit: r208856 - head/sys/netinet

2010-06-05 Thread Randall Stewart
Author: rrs Date: Sat Jun 5 21:33:16 2010 New Revision: 208856 URL: http://svn.freebsd.org/changeset/base/208856 Log: Spacing issues MFC after:1 Week Modified: head/sys/netinet/sctp_auth.c head/sys/netinet/sctp_bsd_addr.c Modified: head/sys/netinet/sctp_auth.c

svn commit: r208857 - head/sys/netinet

2010-06-05 Thread Randall Stewart
Author: rrs Date: Sat Jun 5 21:39:52 2010 New Revision: 208857 URL: http://svn.freebsd.org/changeset/base/208857 Log: Purge out a Windows def that somehow slipped past the scrubber. MFC after:1 Week Modified: head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctputil.c

Re: svn commit: r208857 - head/sys/netinet

2010-06-05 Thread Randall Stewart
we would have to get agreement from quite a few folks... but I am game ;-) R On Jun 5, 2010, at 5:44 PM, Luigi Rizzo wrote: On Sat, Jun 05, 2010 at 09:39:53PM +, Randall Stewart wrote: Author: rrs Date: Sat Jun 5 21:39:52 2010 New Revision: 208857 URL: http://svn.freebsd.org/changeset

svn commit: r208863 - head/sys/netinet

2010-06-05 Thread Randall Stewart
Author: rrs Date: Sun Jun 6 02:32:20 2010 New Revision: 208863 URL: http://svn.freebsd.org/changeset/base/208863 Log: Bruce's fix for some return's in error legs. MFC after:1 week Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_usrreq.c

svn commit: r208864 - head/sys/netinet

2010-06-05 Thread Randall Stewart
Author: rrs Date: Sun Jun 6 02:33:46 2010 New Revision: 208864 URL: http://svn.freebsd.org/changeset/base/208864 Log: Hopefully this fixes a LOR by making so we only hold the iterator lock during updates to the iterators work. MFC after:1 week Modified:

svn commit: r208354 - svnadmin/conf

2010-05-20 Thread Randall Stewart
Author: rrs Date: Thu May 20 16:55:32 2010 New Revision: 208354 URL: http://svn.freebsd.org/changeset/base/208354 Log: Missed this somehow when I committed the mentor file :-( - JC (C. Jaychandran) - Will be working on mips (RMI/netlogic) Approved by: core Modified:

svn commit: r208286 - svnadmin/conf

2010-05-18 Thread Randall Stewart
Author: rrs Date: Wed May 19 04:00:42 2010 New Revision: 208286 URL: http://svn.freebsd.org/changeset/base/208286 Log: 1) jchandra - Jachandran C 2) JC will be working on mips specializing on RMI/Netlogic XLR/XLS and XLP Approved by: Core Modified: svnadmin/conf/mentors

svn commit: r208249 - in head/sys/mips: include mips rmi sibyte

2010-05-17 Thread Randall Stewart
Author: rrs Date: Tue May 18 04:02:34 2010 New Revision: 208249 URL: http://svn.freebsd.org/changeset/base/208249 Log: Adds JC's cleanup patches that fix it so we call an platform dependant topo function as well as clean up all the XLR specific ifdefs around smp platform init.

svn commit: r208250 - head/sys/mips/rmi

2010-05-17 Thread Randall Stewart
Author: rrs Date: Tue May 18 04:08:58 2010 New Revision: 208250 URL: http://svn.freebsd.org/changeset/base/208250 Log: Adds the file I forgot to add... that handles the mpwait.S for RMI Approved by: JC Added: head/sys/mips/rmi/mpwait.S (contents, props changed) Added:

svn commit: r208154 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:42:52 2010 New Revision: 208154 URL: http://svn.freebsd.org/changeset/base/208154 Log: MFC of 207924: This fixes a bug with the one-2-one model socket when a user sets up a socket to a server sends data and closes the socket before the server has called

svn commit: r208155 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:45:49 2010 New Revision: 208155 URL: http://svn.freebsd.org/changeset/base/208155 Log: MFC of 207963 This fixes PR-SCTP issues: - Slide the map at the proper place. - Mark the bits in the nr_array ONLY if there is no marking. - When

svn commit: r208156 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:50:33 2010 New Revision: 208156 URL: http://svn.freebsd.org/changeset/base/208156 Log: MFC 207966 (for Michael) Get rid of unused constants. Modified: stable/8/sys/netinet/sctp_constants.h stable/8/sys/netinet/sctp_indata.c Directory Properties:

svn commit: r208157 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:51:44 2010 New Revision: 208157 URL: http://svn.freebsd.org/changeset/base/208157 Log: MFC 207983 More PR-SCTP bugs: - Make sure that when you kick the streams you add correctly using a 16 bit unsigned. - Make sure when sending out you

svn commit: r208158 - stable/8/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 16:52:56 2010 New Revision: 208158 URL: http://svn.freebsd.org/changeset/base/208158 Log: MFC 207985 Fix an old long time bug in generating a fwd-tsn. This would appear when greater than the size of mbuf TSN's would need to be skipped. Modified:

svn commit: r208160 - head/sys/netinet

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 17:03:56 2010 New Revision: 208160 URL: http://svn.freebsd.org/changeset/base/208160 Log: This adds back the Iterator to the sctp code base. We now properly have ONE thread that services all VNET's. Also we purge out the old timer based iterator code which had

svn commit: r208165 - in head/sys: kern mips/conf mips/include mips/mips mips/rmi mips/rmi/dev/xlr

2010-05-16 Thread Randall Stewart
Author: rrs Date: Sun May 16 19:43:48 2010 New Revision: 208165 URL: http://svn.freebsd.org/changeset/base/208165 Log: This pushes all of JC's patches that I have in place. I am now able to run 32 cores ok.. but I still will hang on buildworld with a NFS problem. I suspect I am missing a

svn commit: r207963 - head/sys/netinet

2010-05-12 Thread Randall Stewart
Author: rrs Date: Wed May 12 13:45:46 2010 New Revision: 207963 URL: http://svn.freebsd.org/changeset/base/207963 Log: This fixes PR-SCTP issues: - Slide the map at the proper place. - Mark the bits in the nr_array ONLY if there is no marking. - When generating a FWD-TSN we allow

svn commit: r207983 - head/sys/netinet

2010-05-12 Thread Randall Stewart
Author: rrs Date: Wed May 12 18:00:15 2010 New Revision: 207983 URL: http://svn.freebsd.org/changeset/base/207983 Log: More PR-SCTP bugs: - Make sure that when you kick the streams you add correctly using a 16 bit unsigned. - Make sure when sending out you allow FWD-TSN to skip

svn commit: r207985 - head/sys/netinet

2010-05-12 Thread Randall Stewart
Author: rrs Date: Wed May 12 18:33:25 2010 New Revision: 207985 URL: http://svn.freebsd.org/changeset/base/207985 Log: Fix an old long time bug in generating a fwd-tsn. This would appear when greater than the size of mbuf TSN's would need to be skipped. MFC after:3 days Modified:

svn commit: r207441 - head/sys/mips/mips

2010-04-30 Thread Randall Stewart
Author: rrs Date: Fri Apr 30 17:12:20 2010 New Revision: 207441 URL: http://svn.freebsd.org/changeset/base/207441 Log: Bug in the memory mapping module. The wrong physaddr was being used in the macro (1 should be used not 2)... Obtained from:JC Modified:

svn commit: r206723 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:38:26 2010 New Revision: 206723 URL: http://svn.freebsd.org/changeset/base/206723 Log: Merge of SVN 196507. This optimizes the sack handling a bit and restructures it so its much more readable ;-) Modified: stable/8/sys/netinet/sctp_indata.c Directory

svn commit: r206724 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:40:48 2010 New Revision: 206724 URL: http://svn.freebsd.org/changeset/base/206724 Log: MFC 202516 This gets rid of some stray #ifdef APPLE that drifted in some how. Modified: stable/8/sys/netinet/sctp_constants.h Directory Properties: stable/8/sys/

svn commit: r206725 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:43:02 2010 New Revision: 206725 URL: http://svn.freebsd.org/changeset/base/206725 Log: MFC of 202517 Again gets rid of some rather strange ifdef's for APPLE/USERSPACE that drifted in through our scrubber programs. Modified:

svn commit: r206726 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:44:28 2010 New Revision: 206726 URL: http://svn.freebsd.org/changeset/base/206726 Log: MFC of 202518 More ifdefs that should not be present... Modified: stable/8/sys/netinet/sctp_sysctl.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r206727 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:47:04 2010 New Revision: 206727 URL: http://svn.freebsd.org/changeset/base/206727 Log: MFC of 202520 This aligns us to the socket api of the stream reset with proper naming.. and a define for backward compatibility. Modified:

svn commit: r206728 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:49:21 2010 New Revision: 206728 URL: http://svn.freebsd.org/changeset/base/206728 Log: MFC 202521 More stray ifdef's that had worked their way into the code base somehow (yes thats ifdef Windows going out.. our stack runs on windows .. big thanks for

svn commit: r206729 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:51:13 2010 New Revision: 206729 URL: http://svn.freebsd.org/changeset/base/206729 Log: MFC of 202523 This fixes a closing race condition that is unlikely to ever happen.. but good to fix ;-) Modified: stable/8/sys/netinet/sctp_usrreq.c Directory

svn commit: r206730 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:53:44 2010 New Revision: 206730 URL: http://svn.freebsd.org/changeset/base/206730 Log: MFC of 205502 The firste of Michael and my long fight at the IETF to get the NR sack code fixed and aligned. Modified: stable/8/sys/netinet/sctp_indata.c

svn commit: r206731 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:55:49 2010 New Revision: 206731 URL: http://svn.freebsd.org/changeset/base/206731 Log: MFC of 202526 The first round of some of Michael's changes to get the sack processing in better shape. Modified: stable/8/sys/netinet/sctp_header.h

svn commit: r206732 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:57:16 2010 New Revision: 206732 URL: http://svn.freebsd.org/changeset/base/206732 Log: MFC of 202782 Michaels changes that took out [0] - for [] Modified: stable/8/sys/netinet/sctp_auth.h stable/8/sys/netinet/sctp_header.h

svn commit: r206733 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 03:58:56 2010 New Revision: 206733 URL: http://svn.freebsd.org/changeset/base/206733 Log: MFC of 203503 A fix to how the checksum code works that Michael put in. Modified: stable/8/sys/netinet/sctp_input.c Directory Properties: stable/8/sys/ (props

svn commit: r206734 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:00:57 2010 New Revision: 206734 URL: http://svn.freebsd.org/changeset/base/206734 Log: MFC of 203847 Puts in missing packed declarations (from Michael). It worked only because it was properly aligned anyway ;-) Modified:

svn commit: r206735 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:02:27 2010 New Revision: 206735 URL: http://svn.freebsd.org/changeset/base/206735 Log: MFD 204040 Fixes some argument calsl (u_long vs uint32_t). Modified: stable/8/sys/netinet/sctp_indata.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r206736 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:06:40 2010 New Revision: 206736 URL: http://svn.freebsd.org/changeset/base/206736 Log: MFC of 204096 One of Michaels changes to fix some sign issues and some minor locking. Modified: stable/8/sys/netinet/sctp_usrreq.c stable/8/sys/netinet/sctputil.c

svn commit: r206738 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:08:51 2010 New Revision: 206738 URL: http://svn.freebsd.org/changeset/base/206738 Log: MFC of 204141 Cleans up so we can have a vtag reflected argument. One of Michaels fixes ;-) Modified: stable/8/sys/netinet/sctp_input.c

svn commit: r206739 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:10:29 2010 New Revision: 206739 URL: http://svn.freebsd.org/changeset/base/206739 Log: MFC of 205627 Part II (more to follow) of the great IETF hack-a-thon to fix the NR-Sack code. Modified: stable/8/sys/netinet/sctp_indata.c

svn commit: r206740 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:11:45 2010 New Revision: 206740 URL: http://svn.freebsd.org/changeset/base/206740 Log: MFC of 205628 Out goes the nr_mapping_array expand. Modified: stable/8/sys/netinet/sctputil.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r206741 - in stable/8/sys: conf netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:13:52 2010 New Revision: 206741 URL: http://svn.freebsd.org/changeset/base/206741 Log: MFC of 205629 Adds the option of seperating out the sctp stats per processor. This will be refined further and is definetly exploratory (which is why its an option)

svn commit: r206742 - in stable/8/sys: netinet netinet6

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:15:46 2010 New Revision: 206742 URL: http://svn.freebsd.org/changeset/base/206742 Log: MFC of 206137 This is Part III of the great IETF hack-a-thon to fix the NR-Sack code. (the last one on the cpu options was a lull.. i.e MFC 205629).. still 2 more to

svn commit: r206743 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:17:17 2010 New Revision: 206743 URL: http://svn.freebsd.org/changeset/base/206743 Log: MFC of 206151 Modified: stable/8/sys/netinet/sctp_output.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed)

svn commit: r206744 - stable/8/sys/netinet

2010-04-16 Thread Randall Stewart
Author: rrs Date: Sat Apr 17 04:19:18 2010 New Revision: 206744 URL: http://svn.freebsd.org/changeset/base/206744 Log: MFC of 206281 Final MFC of all the IETF hack a-thon.. head and stable are now in sync ;-) Modified: stable/8/sys/netinet/sctp_indata.c

svn commit: r205627 - head/sys/netinet

2010-03-24 Thread Randall Stewart
Author: rrs Date: Wed Mar 24 19:45:36 2010 New Revision: 205627 URL: http://svn.freebsd.org/changeset/base/205627 Log: Fix for NR-Sack code. The code was NOT working properly when enabled. Basically most of the operations were incorrect causing bad sacks when you enabled nr-sack. The fixes

svn commit: r205628 - head/sys/netinet

2010-03-24 Thread Randall Stewart
Author: rrs Date: Wed Mar 24 20:01:14 2010 New Revision: 205628 URL: http://svn.freebsd.org/changeset/base/205628 Log: lagging file I forgot to commit with my nr-sack fixes... opps Reviewed by: tue...@freebsd.org Modified: head/sys/netinet/sctputil.h Modified:

svn commit: r205629 - in head/sys: conf netinet

2010-03-24 Thread Randall Stewart
Author: rrs Date: Wed Mar 24 20:02:40 2010 New Revision: 205629 URL: http://svn.freebsd.org/changeset/base/205629 Log: Adds the option of keeping per-cpu statistics in SCTP. This may be useful since it gets rid of atomics but I want it to remain an option until I can do further testing on

svn commit: r205502 - head/sys/netinet

2010-03-22 Thread Randall Stewart
Author: rrs Date: Tue Mar 23 01:36:50 2010 New Revision: 205502 URL: http://svn.freebsd.org/changeset/base/205502 Log: Fixes a bug where SACKs in the face of mapping_array expansion would break. Basically once we expanded the array we no longer had both mapping arrays in sync which the

Re: svn commit: r205104 - in head/sys: dev/xen/netback netinet netinet6

2010-03-13 Thread Randall Stewart
... it would mean a few more de-ref's and looking to see if its a v4 or v6 packet and then doing the proper offset... not to bad but awkward ;-0 R On Mar 13, 2010, at 9:58 PM, Robert Watson wrote: On Fri, 12 Mar 2010, Randall Stewart wrote: The proper fix for the delayed SCTP checksum

Re: svn commit: r205104 - in head/sys: dev/xen/netback netinet netinet6

2010-03-13 Thread Randall Stewart
Hmm... M_PROTO* good idea ;-) On Mar 13, 2010, at 10:56 PM, Bruce Simpson wrote: On 03/13/10 13:53, Robert N. M. Watson wrote: On Mar 13, 2010, at 1:50 PM, Randall Stewart wrote: I could refactor that this way if you want... it would mean a few more de-ref's and looking to see if its a v4

svn commit: r205075 - head/sys/netinet6

2010-03-12 Thread Randall Stewart
Author: rrs Date: Fri Mar 12 08:10:30 2010 New Revision: 205075 URL: http://svn.freebsd.org/changeset/base/205075 Log: With the recent change of the sctp checksum to support offload, no delayed checksum was added to the ip6 output code. This causes cards that do not support SCTP checksum

<    1   2   3   4   >