summaryrefslogtreecommitdiff
path: root/net/tls
diff options
context:
space:
mode:
authorSieng-Piaw Liew <liew.s.piaw@gmail.com>2022-07-08 16:03:03 +0800
committerJakub Kicinski <kuba@kernel.org>2022-07-11 11:36:32 -0700
commit10c8fd2f7a40d691062649307a2aba00dac5dbe6 (patch)
tree4e74c8f71bad75a686700de47c9d9c8ed350d820 /net/tls
parentb205c1b4236b3db80fb9988aef991bae40828fb3 (diff)
bcm63xx: 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 !force to truly discern netpoll-like scenarios. Fixes: c63c615e22eb ("bcm63xx_enet: switch to napi_build_skb() to reuse skbuff_heads") Signed-off-by: Sieng-Piaw Liew <liew.s.piaw@gmail.com> Link: https://lore.kernel.org/r/20220708080303.298-1-liew.s.piaw@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions