Branch: refs/heads/doxycov
Home: https://github.com/kronosnet/kronosnet
Commit: ce97466a8bf92258301b1f6d8d1a0009367633a5
https://github.com/kronosnet/kronosnet/commit/ce97466a8bf92258301b1f6d8d1a0…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2020-02-20 (Thu, 20 Feb 2020)
Changed paths:
M man/doxyxml.c
Log Message:
-----------
man: Fix covscan reports in doxyxml.c
This fixes most of the remaining covscan errors in doxyxml.c.
The ones that remain are caused by malloced structures being
stored in qb_hashtable_maps.
These still cause unfreed memory, because the contents of the maps
are never explictly freed, but as they are used until the very end of
the program (when the OS will free everything) I'm dubious as to
whether it's worth doing it in the code - or whether covscan will
work out what's going on anyway.
Commit: e867284e1e0f854b65020dab55fa9f1eb63ed64c
https://github.com/kronosnet/kronosnet/commit/e867284e1e0f854b65020dab55fa9…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2020-02-20 (Thu, 20 Feb 2020)
Changed paths:
M man/doxyxml.c
Log Message:
-----------
man: Change strcat to strncat
Oddly, covscan doesn't compain about the use of strcat, but
I'm going to pre-empt it, just in case it decides to.
Compare: https://github.com/kronosnet/kronosnet/compare/dc749a2017cf...e867284e1e0f
Branch: refs/heads/pmtud-run
Home: https://github.com/kronosnet/kronosnet
Commit: db25781dac556dcc6ba596bd7a7d9d819f1f16cf
https://github.com/kronosnet/kronosnet/commit/db25781dac556dcc6ba596bd7a7d9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2020-02-20 (Thu, 20 Feb 2020)
Changed paths:
M libknet/internals.h
M libknet/links.c
M libknet/links.h
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/threads_tx.c
Log Message:
-----------
[stats] allow knet_link_get_status to operate in readlock context
- add per link stats mutex
- use per link stats mutex across the board
note: some threads need to lock for a slightly longer period of time than
strictly necessary to avoid reverse-order locking with other mutexes.
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/pmtud-run
Home: https://github.com/kronosnet/kronosnet
Commit: de19f70768406b12ce524cd8ac44c68675be326f
https://github.com/kronosnet/kronosnet/commit/de19f70768406b12ce524cd8ac44c…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2020-02-19 (Wed, 19 Feb 2020)
Changed paths:
M libknet/threads_pmtud.c
M libknet/threads_rx.c
Log Message:
-----------
[pmtud] fix deadlock when updating stats
All locks must be acquired in the same order in all threads :)