diff options
author | Sieng-Piaw Liew <liew.s.piaw@gmail.com> | 2022-07-08 09:03:53 +0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-07-14 12:51:16 +0200 |
commit | 3acd2ea14802aa39a8a25a2f20b1a6a20efca3f2 (patch) | |
tree | c12fdeabca2cdce3fd7761493a39e01e0abd0175 /tools | |
parent | ba7da7368086d0721da7cd4d627209dffda5c1d6 (diff) | |
download | upstream-3acd2ea14802aa39a8a25a2f20b1a6a20efca3f2.tar.gz upstream-3acd2ea14802aa39a8a25a2f20b1a6a20efca3f2.tar.bz2 upstream-3acd2ea14802aa39a8a25a2f20b1a6a20efca3f2.zip |
ath79: fix Tx cleanup when NAPI poll budget is zero
NAPI poll() function may be passed a budget value of zero, i.e. during
netpoll, which isn't NAPI context.
Therefore, napi_consume_skb() must be given budget value instead of
!flush to truly discern netpoll-like scenarios.
https://lore.kernel.org/netdev/20220707141056.2644-1-liew.s.piaw@gmail.com/t/#m470f5c20225e76fb08c44d6cfa2f1b739ffaaea4
Signed-off-by: Sieng-Piaw Liew <liew.s.piaw@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions