On 3/16/26 6:30 PM, Stephen Hemminger wrote:
On Mon, 16 Mar 2026 16:05:18 +0300
Andrew Rybchenko <[email protected]> wrote:

mem_name was built, but not used when memory is allocated.

Fixes: c3e12e0f0354 ("fib: add dataplane algorithm for IPv6")
Signed-off-by: Andrew Rybchenko <[email protected]>
---

Ok but the name argument is only used for tracing.
It can just be NULL

Yes, I know. IMHO the consistency is the main issue here.
It is simply wrong to prepare mem_name and do not use it.
Obviously the second option is use delete above snprintf(),
but I try to follow the author idea as I understand it.

Reply via email to