i had some trouble with a very badly behaved tcp stack "crashing" my terminal by causing the resequence queues of >900 tinygrams. there's a little writeup here http://www.quanstro.net/plan9/tcpreseq/index.html
the short story is that limiting the resequence queue to a "reasonable" number of packets solves the problem. i choose reasonable=15*(scale+1). there's a diff here: http://www.quanstro.net/plan9/tcpreseq/tcpdiff i'd be interested in any feedback. - erik