[3513] in linux-net channel archive

home help back first fref pref prev next nref lref last post

The crash 2.0 tcp program

daemon@ATHENA.MIT.EDU (Alan Cox)
Wed Jun 26 20:49:43 1996

Date: 	Wed, 26 Jun 96 22:42 BST
From: alan@lxorguk.ukuu.org.uk (Alan Cox)
To: linux-net@vger.rutgers.edu, schenk@rnode84.cs.toronto.edu,
        torvalds@cs.helsinki.fi


Ok this appears to run us out of buffers with one end of a connection in
the state where bytes_rcv > max_unacked. This causes the following 
unfortunate sequence:

	tcp_send_ack
	no free memory ... delay and send

	tcp_send_delayed_ack
	bytes_rcv > max_unacked 
	set timer for now and mark timer_bh to be run

	timer_bh runs immediately, no buffers will be freed

	tcp_send_ack
	no free memory.. delay and send
	etc etc

Kaboom

I'm not convinced thats the only case this can happen now, but its the obvious
one.

Alan



home help back first fref pref prev next nref lref last post