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-12-04 09:39:55 +03:00
2015-12-17 17:33:47 +01:00
2015-10-02 16:22:02 -03:00
2015-09-25 12:04:43 +02:00
2015-10-27 15:59:46 +00:00
2015-11-24 14:56:49 -05:00
2015-12-22 18:39:19 +02:00
2015-09-25 12:04:43 +02:00
2015-09-07 10:39:28 +01:00
2016-01-08 09:29:24 +01:00
2015-09-25 14:52:17 +02:00
2015-12-22 18:39:19 +02:00