2017-12-13 10:14:11

by Jia-Ju Bai

[permalink] [raw]
Subject: [BUG] tulip/de4x5: a possible sleep-in-atomic bug in de4x5_interrupt

According to drivers/net/ethernet/dec/tulip/de4x5.c, the driver may
sleep in the interrupt handler.
The function call path is:
de4x5_interrupt (interrupt handler)
synchronize_irq --> may sleep

I do not find a good way to fix it, so I only report.
This possible bug is found by my static analysis tool (DSAC) and checked
by my code review.


Thanks,
Jia-Ju Bai