Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netpoll: do not test NAPI_STATE_SCHED in poll_one_napi()
Since we do no longer require NAPI drivers to provide an ndo_poll_controller(), napi_schedule() has not been done before poll_one_napi() invocation. So testing NAPI_STATE_SCHED is likely to cause early returns. While we are at it, remove outdated comment. Note to future bisections : This change might surface prior bugs in drivers. See commit 73f21c6 ("bnxt_en: Fix TX timeout during netpoll.") for one occurrence. Fixes: ac3d9dd ("netpoll: make ndo_poll_controller() optional") Signed-off-by: Eric Dumazet <[email protected]> Tested-by: Song Liu <[email protected]> Cc: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information