diff options
author | Eric Dumazet <edumazet@google.com> | 2024-03-29 15:42:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-01 11:28:31 +0100 |
commit | 95e48d862ada73188be6d91a33c49d1712815bd2 (patch) | |
tree | b8d6429d9e0e50d7a1bc6510e4f2fb8af7b93272 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2fe50a4d7225cf10748775e290361896637091a9 (diff) |
net: enqueue_to_backlog() change vs not running device
If the device attached to the packet given to enqueue_to_backlog()
is not running, we drop the packet.
But we accidentally increase sd->dropped, giving false signals
to admins: sd->dropped should be reserved to cpu backlog pressure,
not to temporary glitches at device dismantles.
While we are at it, perform the netif_running() test before
we get the rps lock, and use REASON_DEV_READY
drop reason instead of NOT_SPECIFIED.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions