]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7915: add missing bh-disable around tx napi enable/schedule
authorFelix Fietkau <nbd@nbd.name>
Thu, 2 Jun 2022 19:43:04 +0000 (21:43 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2022 11:40:01 +0000 (13:40 +0200)
commite9e3f02686d6fc70170d36e6ce62a4cbf90cdee6
treef6cba07f4b1aaba2e420817b4b8a8687e3b7cd13
parentcc4eec92be2a78bd5eb6830988944d2d81986119
mt76: mt7915: add missing bh-disable around tx napi enable/schedule

napi_schedule() can call __raise_softirq_irqoff(), which can perform softirq
handling, so it must not be called in a pure process context with BH enabled.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c