Gleb Smirnoff a7908db153 Dropping the lock in the transmit_event() is not safe, because we
store some pipe pointers on stack. If user reconfigures dummynet
in the interlock gap, we can work with freed pipes after relock.

To fix this, we decided not to send packets in transmit_event(),
but fill a queue. At the end of dummynet() and dummynet_io(),
after the lock is dropped, if there is something in the queue
we run dummynet_send() to process the queue.

In collaboration with:	ru
2006-02-03 11:38:19 +00:00
..
2006-02-03 02:49:14 +00:00
2006-02-03 00:36:19 +00:00
2005-12-04 02:12:43 +00:00
2006-02-01 12:06:01 +00:00
2006-01-31 23:11:35 +00:00
2006-01-29 22:06:51 +00:00
2006-01-21 10:44:34 +00:00
2006-01-21 10:44:34 +00:00
2006-02-02 11:14:13 +00:00
2006-01-30 16:32:08 +00:00