Re: [PATCH net-next v2 13/13] selftests: net: Add a test for port ID in FDB notifications

From
Petr Machata <petrm@nvidia.com>
Date
2026-12-01 18:11:52
Also in
bridge, linux-kselftest
Reply to
netdev-bot+sashiko@kernel.org, 2026-12-01
netdev-bot+sashiko@kernel.org writes:
Env creates three RtnlNeighFamily instances per test case (listener,
a and b), and nothing ever closes their netlink sockets.
...
Across the seven test cases that is up to 21 netlink sockets. Each one
pins the namespace it was created in, even after NetNS has deleted
that namespace.
...
The raw AF_PACKET socket opened here is never closed.
Yeah, so this is valid, and I didn't see this citation from my Sashiko
runs.

That said, the test accumulates 7 NSs and a total of 22 sockets for
about a second. Not that big of a deal I would say. In the words of the
review bot:
It is a minor thing for a single test
I have one more related patchset that I'm working on. I can fix this in
there if that's acceptable.
Thread (25 messages) 25 messages, 3 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help