[PATCH 0/3] Fix ARP table parsing over netlink messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somehow it happened that some kernels (I noticed this with 6.10.0 and 6.10.2 on
various machines) started sending NLMSG_DONE message (as they probably should've
even before), but our check for it could've never worked and now `virsh
domifaddr --source arp` sometimes fails with "wrong nlmsg len".  So I set out on
a quest to tame the netlink beast and though fierceful debugging and...  Oh, I
forgot, nobody reads cover letters.  Never mind.

Martin Kletzander (3):
  virarptable: Properly calculate rtattr length
  virarptable: Fix check for message length
  virarptable: End parsing earlier in case of NLMSG_DONE

 src/util/virarptable.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

-- 
2.46.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux