lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <171749162841.1764.5078759869786870310.git-patchwork-notify@kernel.org>
Date: Tue, 04 Jun 2024 09:00:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
 pabeni@...hat.com, jhs@...atatu.com, xiyou.wangcong@...il.com,
 jiri@...nulli.us
Subject: Re: [PATCH net-next] net: count drops due to missing qdisc as
 dev->tx_drops

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@...hat.com>:

On Wed, 29 May 2024 09:25:27 -0700 you wrote:
> Catching and debugging missing qdiscs is pretty tricky. When qdisc
> is deleted we replace it with a noop qdisc, which silently drops
> all the packets. Since the noop qdisc has a single static instance
> we can't count drops at the qdisc level. Count them as dev->tx_drops.
> 
>   ip netns add red
>   ip link add type veth peer netns red
>   ip            link set dev veth0 up
>   ip -netns red link set dev veth0 up
>   ip            a a dev veth0 10.0.0.1/24
>   ip -netns red a a dev veth0 10.0.0.2/24
>   ping -c 2 10.0.0.2
>   #  2 packets transmitted, 2 received, 0% packet loss, time 1031ms
>   ip -s link show dev veth0
>   #  TX:  bytes packets errors dropped carrier collsns
>   #        1314      17      0       0       0       0
> 
> [...]

Here is the summary with links:
  - [net-next] net: count drops due to missing qdisc as dev->tx_drops
    https://git.kernel.org/netdev/net-next/c/4fdb6b6063f0

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ