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
..
2015-09-11 10:45:43 +03:00
2015-12-07 14:18:31 +00:00
2015-11-27 10:39:55 +08:00
2015-10-27 15:59:46 +00:00
2015-07-27 14:12:18 +01:00
2015-09-07 10:39:30 +01:00
2015-09-02 14:51:07 +01:00
2015-09-02 14:51:07 +01:00
2015-07-27 14:12:18 +01:00
2015-07-27 14:12:18 +01:00
2015-09-25 14:53:29 +02:00