Randall Stewart 2a0266f7c7 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 based code was full of
         LOR's and other issues.

r208852: Cleanup bug. Basically when an un-accepted socket was hanging on a
        closed listener, we would leak the inp never cleaning it up

r208853: Enhance the use under invarients of the audit for locks function
         and fix a bug where a close collision with a cookie being processed
         would cause a crash.

r208854: Use the proper increment macros when working with the
         sent_queue_retran_cnt

r208855: Align comments properly, Fix a bug where we were NOT looking at the
         resend markings for control chunks and also not decrementing the
         retran count which caused extra calls to retransmission. Alos add
         a valid no locks call to the output routine.

r208856: Spacing issues in auth/bsd addr.

r208857: Get rid of a windows ifdef that somehow leaked in

r208863: Missing error leg returns in some failure cases

r208864: LOR fix between the iterator and sctp_inpcb_close

r208874: Don't call the sctp_inpcb_free from abort an association since you
         don't know what locks you hold and a timer will take care of the
         situation when the gone flag is set

r208875: sctp_inpcb_free bug - a socket under the right situation could get
         stuck (from the accept queue) and never start the proper cleanup
         timer)

r208876: Further enhance invariant lock validation, Fix a bug where a closed
         socket and a INIT-ACK could collide and cause a crash

r208878: Clear up another bug in sctp_inpcb_free where we would end up due
         to a race in freeing hit a destroy of a contended lock.

r208879: Optimize the cleanup and make some additional fixes in the sysctl
         code so that it won't reference a GONE INP and crash us

r208883 & r208891: Fix so we don't open a hole between a sock lock and a call
         to socantrcvmore.. we could before hit a race that would kill the
         socket underneath us leading to a crash

r208897: CUM-ACK calculation was messed up. So basically large message got
         broken from the original NR_sack integration.

r208902: Make sure that we don't move a bit to the NR array that is behind
         the cum-ack

r208952: Use both bit maps to calculte the cum-ack.

r208953: Fix bug having to do with freeing an sctp_inpcb_free().
    1) make sure not to remove the flag until you get the lock again.
    2) make sure all log_closing calls hold the lock.
    3) Release all the locks when everthing is done and call callout_drain
       not callout_stop..

r208970: Fix some places on user allocation of a new sctp_inpcb where we run
         out of resource that we make sure to NULL the so_pcb pointer.
Approved by:	re - (bz@freebsd.org)
2010-06-11 03:13:19 +00:00
..
2010-06-01 21:19:58 +00:00
2010-05-25 02:28:39 +00:00
2009-12-14 00:15:56 +00:00
2010-06-06 13:08:36 +00:00
2010-04-28 10:03:54 +00:00
2010-06-02 18:46:12 +00:00
2010-05-17 23:51:57 +00:00
2010-06-10 20:54:53 +00:00
2010-06-07 20:31:55 +00:00
2010-06-08 04:41:31 +00:00
2010-06-01 21:19:58 +00:00
2010-06-10 20:04:44 +00:00
2009-11-22 16:04:49 +00:00
2010-05-08 18:54:47 +00:00
2010-06-02 18:46:12 +00:00
2010-05-31 22:29:48 +00:00
2010-06-10 20:20:46 +00:00
2010-06-01 09:32:22 +00:00
2010-06-11 03:13:19 +00:00
2010-05-11 11:53:10 +00:00
2010-03-30 19:52:45 +00:00
2010-06-10 20:13:03 +00:00
2010-04-09 01:14:39 +00:00
2009-10-07 14:14:05 +00:00
2010-01-17 13:36:13 +00:00
2010-05-23 16:16:33 +00:00
2010-04-14 01:22:33 +00:00
2010-06-10 19:11:00 +00:00
2010-04-06 23:03:20 +00:00
2010-05-23 16:16:33 +00:00
2010-05-10 18:47:52 +00:00
2010-06-05 14:53:34 +00:00
2010-05-23 21:57:45 +00:00
2009-08-12 20:30:27 +00:00