mbox series

[net,0/3] tools: ynl: fix header guards and impossible errors

Message ID 20240217001742.2466993-1-kuba@kernel.org (mailing list archive)
Headers show
Series tools: ynl: fix header guards and impossible errors | expand

Message

Jakub Kicinski Feb. 17, 2024, 12:17 a.m. UTC
Fix header guards for new families. I must have installed the latest
headers on my system when I was developing. Now it seems system update
overwrote them back to something slightly older, revealing the guards
I put in are wrong.

Also fix bugs discovered while I was hacking in low level stuff in YNL
and kept breaking the socket, really exercising the "impossible" paths.

Jakub Kicinski (3):
  tools: ynl: fix header guards
  tools: ynl: make sure we always pass yarg to mnl_cb_run
  tools: ynl: don't leak mcast_groups on init error

 tools/net/ynl/Makefile.deps |  4 ++--
 tools/net/ynl/lib/ynl.c     | 19 +++++++++++++++----
 2 files changed, 17 insertions(+), 6 deletions(-)