diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2022-03-21 10:22:37 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-03-21 12:07:05 -0700 |
commit | 351bdbb6419ca988802882badadc321d384d0254 (patch) | |
tree | 66940d417482952a22c0f526b684a076725d635c /net/lapb/lapb_timer.c | |
parent | ca4f3f187b0885906ebac1abbf26545b5c514fba (diff) |
net: Revert the softirq will run annotation in ____napi_schedule().
The lockdep annotation lockdep_assert_softirq_will_run() expects that
either hard or soft interrupts are disabled because both guaranty that
the "raised" soft-interrupts will be processed once the context is left.
This triggers in flush_smp_call_function_from_idle() but it this case it
explicitly calls do_softirq() in case of pending softirqs.
Revert the "softirq will run" annotation in ____napi_schedule() and move
the check back to __netif_rx() as it was. Keep the IRQ-off assert in
____napi_schedule() because this is always required.
Fixes: fbd9a2ceba5c7 ("net: Add lockdep asserts to ____napi_schedule().")
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Jason A. Donenfeld <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions