incorrect size, want: 184 or 192
maxpain opened this issue · 9 comments
Hello.
On Linux 5.19.3 I'm getting this error: incorrect size, want: 184 or 192
in conn.Link.List()
Hi,
Could you elaborate please under which circumstance you get this error? Some steps to reproduce would be very helpful.
Much appreciated!
@jsimonetti Actually, I use Talos Linux, and tried to build it with Linux 5.19, when booting I got this error from this function.
Linux 5.15 (which is the default for this distro) and 5.18 (my custom-built kernel) work just fine.
Have you tried contacting the talos devs about this? Is 5.19 something they support?
Mind youe, we have worked closely in the past so if this is something that is wrong in my lib I have no problem fixing it. I am not trying to wave away that there might be a problem, however this is the first time I hear about this issue and have not done any tests yet with 5.19.
Unfortunately, they don't officially support 5.19, so I need to build Talos with this kernel by myself :(
Anyway, Linux 5.19 is the stable and mainline kernel. Could you please test your lib with this?
Yeah, I was already in the proces of finding a decent way to run 5.19. None of my distro's offer any packages yet unfortunately, so this will take some time to find.
The only reason for this error would be if the LinkStat64 size (https://github.com/jsimonetti/rtnetlink/blob/master/link.go#L424) of replies changed.
I am suspecting torvalds/linux@794c24e but like I said, it will take some time to find a good way to check.
@jsimonetti Thank you for understanding!
Yes, it's working, thank you!