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 3 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 8fa80b6906806016ca3449e9e20ce5f6b49653dc Author: Andrew Stormont <firstname.lastname@example.org> Date: 2020-07-23T14:31:25.000Z 12712 xnf calls ddi_dma_nextcookie too many times and panics the system Reviewed by: Paul Winder <email@example.com> Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Reviewed by: Andy Fiddaman <email@example.com> Reviewed by: Patrick Mooney <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>