Branch: refs/heads/main Home: https://github.com/kronosnet/kronosnet Commit: ed2b35013d2de8967e4b308123c2e8e09ebdd030 https://github.com/kronosnet/kronosnet/commit/ed2b35013d2de8967e4b308123c2e8... Author: Jan Friesse jfriesse@redhat.com Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths: M libknet/threads_tx.c
Log Message: ----------- tx: Initialize datafd_hdr
This ensures datafd_hdr is always properly initialized and removes valgrind warning.
Signed-off-by: Jan Friesse jfriesse@redhat.com
Commit: 99a40dd3ba421d8ceaaba8b7f0c6f0dc7ded0d52 https://github.com/kronosnet/kronosnet/commit/99a40dd3ba421d8ceaaba8b7f0c6f0... Author: Jan Friesse jfriesse@redhat.com Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths: M libknet/transport_common.c
Log Message: ----------- transport: Fix writev_all
writev_all was using iov[i] in the loop and same time it was increasing base address of iov (iov++; line) resulting in stack smashing for iov with more than one element.
Also I believe stats update was on incorrect place because it was increased for all iov items.
Lastly I found log_debug too verbose (and again on incorrect place) because it was called for every single sent packet (too verbose) and every single iov item (incorrect place) so it is removed completely.
It might be possible to change code to use iov[0] when needed but I decided to also simplify/shorten code a bit.
Signed-off-by: Jan Friesse jfriesse@redhat.com
Commit: 276b263b734c9735fb944fec1962df8c61f54a16 https://github.com/kronosnet/kronosnet/commit/276b263b734c9735fb944fec1962df... Author: Jan Friesse jfriesse@redhat.com Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths: M libknet/threads_tx.c
Log Message: ----------- tx: Remove log message about adding header
This message was logged for every single received packet what I think is simply too overwhelming because it makes logs full of this message.
Signed-off-by: Jan Friesse jfriesse@redhat.com
Commit: 3ecd475cb02c0965959c198f6a6920d71d86e1ea https://github.com/kronosnet/kronosnet/commit/3ecd475cb02c0965959c198f6a6920... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2025-03-20 (Thu, 20 Mar 2025)
Changed paths: M libknet/threads_tx.c M libknet/transport_common.c
Log Message: ----------- Merge pull request #436 from jfriesse/fix_writev_all
Fix writev all
Compare: https://github.com/kronosnet/kronosnet/compare/08e8fa7e97b9...3ecd475cb02c
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications