summaryrefslogtreecommitdiff
path: root/usr/gen_initramfs.sh
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-03-29 18:42:20 +0300
committerDavid S. Miller <davem@davemloft.net>2024-04-01 13:28:31 +0300
commit95e48d862ada73188be6d91a33c49d1712815bd2 (patch)
treeb8d6429d9e0e50d7a1bc6510e4f2fb8af7b93272 /usr/gen_initramfs.sh
parent2fe50a4d7225cf10748775e290361896637091a9 (diff)
downloadlinux-95e48d862ada73188be6d91a33c49d1712815bd2.tar.xz
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 'usr/gen_initramfs.sh')
0 files changed, 0 insertions, 0 deletions