mirror of
https://github.com/torvalds/linux.git
synced 2026-09-15 15:01:08 -04:00
Handle case where prod_index has wrapped around and become less than cq->cons_index by checking that their difference as a signed int is positive rather than comparing directly. Signed-off-by: Roland Dreier <rolandd@cisco.com>