freebsd-dev/sys
Randall Stewart 6a91f103b6 Turns out we would reset the TSN seq counter during
a colliding INIT. This if fine except when we have
data outstanding... we basically reset it to the
previous value it was.. so then we end up assigning
the same TSN to two different data chunks.
This patch:

1) Finds a missing lock for when we change the stream
   numbers during COOKIE and INIT-ACK processing.. we
   were NOT locking the send_buffer.. which COULD cause
   problems (found by inspection looking for <2>)

2) Fixes a case during a colliding INIT where we incorrectly
   reset the sending Sequence thus in some cases duplicately
   assigning a TSN.

3) Additional enhancments to logging so we can see strm/tsn in
   the receiver AND new tracking to watch what the sender
   is doing with TSN and STRM seq's.

Approved by:	gnn
2006-11-11 15:59:01 +00:00
..
amd64 Spelling. 2006-11-07 21:57:18 +00:00
arm MFamd64/ia64/i386/sun4v 2006-11-08 06:31:28 +00:00
boot MFp4: boot2 should now build 2006-11-09 20:45:22 +00:00
bsm Merge OpenBSM 1.0 alpha 12 import changes into src/sys/bsm. New events 2006-09-25 12:22:07 +00:00
cam XPT_GET_TRAN_SETTINGS can fail- so check for an error and 2006-11-07 23:06:00 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
compat Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
conf fix tinderbox 2006-11-11 05:35:39 +00:00
contrib Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
crypto Initialize T1 to silent gcc warning. 2006-10-22 02:19:33 +00:00
ddb Set up the context for the dbbe_trace callback in the ddb. Otherwise, 2006-11-06 11:10:57 +00:00
dev fix hanging on invalid data... (This doesn't fix hanging due to broken 2006-11-09 21:05:32 +00:00
fs Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom Fix ia64 build breakage. 2006-11-02 16:24:18 +00:00
gnu Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
i4b Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
i386 Don't dump the $PIR table under bootverbose. The pirtool program in 2006-11-09 18:03:36 +00:00
ia64 Add missing includes of priv.h. 2006-11-06 17:43:10 +00:00
isa Use calendaric calculation support from subr_clock.c instead of home-rolled. 2006-10-02 16:18:40 +00:00
isofs/cd9660 Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
kern Unbreak userland priority inheriting in NO_KSE case. 2006-11-11 13:11:29 +00:00
libkern Add strstr() function to the libkern. 2006-08-12 15:28:39 +00:00
modules Teach an IPv6 to ppp(4). 2006-11-11 15:02:04 +00:00
net Teach an IPv6 to ppp(4). 2006-11-11 15:02:04 +00:00
net80211 Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
netatalk Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
netatm Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
netgraph Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
netinet Turns out we would reset the TSN seq counter during 2006-11-11 15:59:01 +00:00
netinet6 -Fixes first of all the getcred on IPv6 and V4. The 2006-11-08 00:21:13 +00:00
netipsec Add priv.h include required to build FAST_IPSEC, which is not present in 2006-11-07 08:58:06 +00:00
netipx Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netncp Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
netsmb Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
nfs Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfs4client Fixes up the handling of shared vnode lock lookups in the NFS client, 2006-09-13 18:39:09 +00:00
nfsclient honor nolockd flag in root mount options 2006-11-07 18:02:45 +00:00
nfsserver Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
opencrypto When DIAGNOSTIC is defined, verify if we don't free crypto requests from 2006-06-06 15:04:52 +00:00
pc98 MFi386: revisions 1.634 and 1.639. 2006-11-09 08:03:37 +00:00
pccard I don't believe these are used at all, and can be safely removed 2006-01-15 06:49:28 +00:00
pci - Don't bother to include IDs of PCnet chips which are not supported 2006-11-07 19:44:41 +00:00
posix4 Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
powerpc Remove the KDTRACE option again because of the complaints about having 2006-11-04 23:50:12 +00:00
rpc Fix up some cut-n-paste damage and some out-of-date comments. 2006-01-20 15:20:41 +00:00
security Add stub entry point implementations of mpo_priv_check and mpo_priv_grant to 2006-11-06 13:45:45 +00:00
sparc64 Remove the KDTRACE option again because of the complaints about having 2006-11-04 23:50:12 +00:00
sun4v MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profile 2006-11-11 03:18:07 +00:00
sys define UMUTEX_CONTESTED as an unsigned integer. 2006-11-11 14:00:39 +00:00
tools Check for errors when registering and unregistering firmware modules. This 2006-06-16 21:06:03 +00:00
ufs Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
vm I misplaced the assertion that was added to vm_page_startup() in the 2006-11-08 19:11:54 +00:00
Makefile Don't need to special case arm here anymore 2006-08-10 06:29:43 +00:00