diff options
| author | 2024-03-29 15:42:20 +0000 | |
|---|---|---|
| committer | 2024-04-01 11:28:31 +0100 | |
| commit | 95e48d862ada73188be6d91a33c49d1712815bd2 (patch) | |
| tree | b8d6429d9e0e50d7a1bc6510e4f2fb8af7b93272 /scripts/Makefile.thinlto | |
| parent | net: move dev_xmit_recursion() helpers to net/core/dev.h (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
