On 12/19/24 18:36, Radu Rendec wrote: > 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@xxxxxxxxxx> > --- > include/net/dropreason-core.h | 12 ++++++++++++ > net/bridge/br_forward.c | 16 ++++++++++++---- > net/bridge/br_input.c | 20 +++++++++++++++----- > 3 files changed, 39 insertions(+), 9 deletions(-) > Acked-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>