diff options
author | Radu Rendec <rrendec@redhat.com> | 2024-12-19 11:36:06 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-23 10:11:04 -0800 |
commit | 623e43c2f5023853cbf71d6a60898d448a06416a (patch) | |
tree | 7a92e0a708544d07e15817ec13a03defede116a6 /tools/testing/selftests/net/lib/py/utils.py | |
parent | 46e0ccfb88f02ab2eb20a41d519d6e4c028652f2 (diff) | |
download | linux-623e43c2f5023853cbf71d6a60898d448a06416a.tar.gz linux-623e43c2f5023853cbf71d6a60898d448a06416a.tar.bz2 linux-623e43c2f5023853cbf71d6a60898d448a06416a.zip |
net: bridge: add skb drop reasons to the most common drop points
The bridge input code may drop frames for various reasons and at various
points in the ingress handling logic. Currently kfree_skb() is used
everywhere, and therefore no drop reason is specified. Add drop reasons
to the most common drop points.
Drop reasons are not added exhaustively to the entire bridge code. The
intention is to incrementally add drop reasons to the rest of the bridge
code in follow up patches.
Signed-off-by: Radu Rendec <rrendec@redhat.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20241219163606.717758-3-rrendec@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions