Thread (4 messages) 4 messages, 3 authors, 3d ago

Re: [PATCH net] net: dsa: motorcomm: Report error when FDB fails to add

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-10-26 00:44:31
Also in: lkml

On Sun, Oct 25, 2026 at 10:41:11AM +0800, David Yang wrote:
fdb_add() ignored any errors returned by the hardware (for example,
table is full). Return error for that case.

Fixes: 186623f4aa72 ("net: dsa: yt921x: Add support for Motorcomm YT921x")
Signed-off-by: David Yang <mmyangfl@gmail.com>
I'm not sure this deserves a Fixes tag. How many entries does the
table take before it is full? Typical home networks have what, 10, 20
devices maximum. A small business network may have a couple of
hundred?

What happens if it is full, and you don't return ENOSPC?

      Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help