xnf calls ddi_dma_nextcookie too many times and panics the system
I can't provide a stack trace unfortunately as I've only observed this issue in Amazon's EC2 but it's pretty obvious what's happening from look at the code: it's calling ddi_dma_nextcookie at the end of a loop in xnf_mblk_map. The call on the final iteration tickles the check in ddi_dma_nextcookie causing the system to panic.
Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 8fa80b6906806016ca3449e9e20ce5f6b49653dc Author: Andrew Stormont <email@example.com> Date: 2020-07-23T14:31:25.000Z 12712 xnf calls ddi_dma_nextcookie too many times and panics the system Reviewed by: Paul Winder <firstname.lastname@example.org> Reviewed by: Garrett D'Amore <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Patrick Mooney <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>