qemu-e2k/hw/net/rocker
Prasad J Pandit 007cd223de net: rocker: fix an incorrect array bounds check
While processing transmit(tx) descriptors in 'tx_consume' routine
the switch emulator suffers from an off-by-one error, if a
descriptor was to have more than allowed(ROCKER_TX_FRAGS_MAX=16)
fragments. Fix an incorrect bounds check to avoid it.

Reported-by: Qinghao Tang <luodalongde@gmail.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2016-01-11 11:01:35 +08:00
..
qmp-norocker.c
rocker_desc.c rocker: Use g_new() & friends where that makes obvious sense 2015-10-08 19:46:47 +03:00
rocker_desc.h
rocker_fp.c rocker: Use g_new() & friends where that makes obvious sense 2015-10-08 19:46:47 +03:00
rocker_fp.h
rocker_hw.h
rocker_of_dpa.c error: More error_setg() usage 2015-11-11 18:56:26 +01:00
rocker_of_dpa.h
rocker_tlv.h
rocker_world.c
rocker_world.h
rocker.c net: rocker: fix an incorrect array bounds check 2016-01-11 11:01:35 +08:00
rocker.h