« Previous | Next » 

Revision b248ede2

IDb248ede2ef2792d364bd305e5e92e24921c924a8

Added by Jan Kiszka about 12 years ago

slirp: Fix requeuing of batchq packets in if_start

In case we requeued a packet that was the head of a longer session
queue, we failed to restore this ordering. Also, we did not properly
deal with changes to Slirp::next_m.

Instead of a cumbersome roll back, this fix simply avoids any changes
until we know if the packet was actually sent. Both fixes crashes due
to inconsistent queues and simplifies the logic.

Thanks to Zhi Yong Wu who found the reason for these crashes.

CC: Zhi Yong Wu <>
CC: Fabien Chouteau <>
Signed-off-by: Jan Kiszka <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences