Branch: refs/heads/libtap-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: eca4355631fffbd4bf4100fbe9b9892cc7c93d82
https://github.com/kronosnet/kronosnet/commit/eca4355631fffbd4bf4100fbe9b98…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] tests: allow random localhost IPs for testing
- avoids clashing with machine routing
- allows parallel testing
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: b51b576eee502594c461f33575ca78817eadd75c
https://github.com/kronosnet/kronosnet/commit/b51b576eee502594c461f33575ca7…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] tests: add better IPv6 private address space randomization
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 07017c99a61a28dfdf1a0e3245f03be5a3136de1
https://github.com/kronosnet/kronosnet/commit/07017c99a61a28dfdf1a0e3245f03…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M configure.ac
M libtap/libtap.c
Log Message:
-----------
[libtap] port to freebsd and fix a bunch of small bugs
- tap_open: do mutex lock only after malloc to avoid deadlock
- fix test suite to increase randomness when testing named tap devices
- remove hardcoded paths to /bin/true /bin/false and /bin/grep
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 16ad9c005199dba2956756252f43b18efdd5d7e5
https://github.com/kronosnet/kronosnet/commit/16ad9c005199dba2956756252f43b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M README
Log Message:
-----------
[libtap] update README for BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 0620bc946690c16a0874d2af43ca4bee1a7fc3b3
https://github.com/kronosnet/kronosnet/commit/0620bc946690c16a0874d2af43ca4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libtap/libtap.h
Log Message:
-----------
[libtap] define IFNAMSIZ for applications that don't need/want to include net/if.h
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a83a89dc080f5a4295b2237d491a4b45d3a794a5
https://github.com/kronosnet/kronosnet/commit/a83a89dc080f5a4295b2237d491a4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] BSD: switch to ioctl to destroy tap devices
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a3a96ba481badabf77a02535f4f26fa9218a86be
https://github.com/kronosnet/kronosnet/commit/a3a96ba481badabf77a02535f4f26…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M Makefile.am
M NOTES_TO_PACKAGE_MAINTAINERS
M README
M configure.ac
M kronosnet.spec.in
M kronosnetd/Makefile.am
M kronosnetd/cfg.c
M kronosnetd/cfg.h
M kronosnetd/vty_cli_cmds.c
A libnozzle/Makefile.am
A libnozzle/api-test-coverage
A libnozzle/libnozzle.c
A libnozzle/libnozzle.h
A libnozzle/libnozzle.pc.in
A libnozzle/libnozzle_exported_syms
A libnozzle/tap_updown_bad/down.d/kronostest
A libnozzle/tap_updown_bad/post-down.d/kronostest
A libnozzle/tap_updown_bad/pre-up.d/kronostest
A libnozzle/tap_updown_bad/up.d/kronostest
A libnozzle/tap_updown_good/down.d/kronostest
A libnozzle/tap_updown_good/post-down.d/kronostest
A libnozzle/tap_updown_good/pre-up.d/kronostest
A libnozzle/tap_updown_good/up.d/kronostest
R libtap/Makefile.am
R libtap/api-test-coverage
R libtap/libtap.c
R libtap/libtap.h
R libtap/libtap.pc.in
R libtap/libtap_exported_syms
R libtap/tap_updown_bad/down.d/kronostest
R libtap/tap_updown_bad/post-down.d/kronostest
R libtap/tap_updown_bad/pre-up.d/kronostest
R libtap/tap_updown_bad/up.d/kronostest
R libtap/tap_updown_good/down.d/kronostest
R libtap/tap_updown_good/post-down.d/kronostest
R libtap/tap_updown_good/pre-up.d/kronostest
R libtap/tap_updown_good/up.d/kronostest
Log Message:
-----------
[libnozzle] rename libtap to libnozzle (part 1)
Our fearless Debian maintainer wferi made us aware that TAP is an overloaded
term already and it would be very confusing to add yet another one.
nozzle is a good pick from http://www.thesaurus.com/browse/tap
I am sure lib*cock* would have cause havoc :-)
This commit only rename files and allow builds. The API needs to be renamed too,
but that will come over time with major code cleanup as documented here:
https://trello.com/c/pyEKd4UH/396-libnozzle-make-it-production-ga-ready
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: fd7c1c9414ef9b87aad471d0b2cb14c6e70c5681
https://github.com/kronosnet/kronosnet/commit/fd7c1c9414ef9b87aad471d0b2cb1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] add Doxygen header
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 1d974c9957f083f2af3ae3a328f143446336e58d
https://github.com/kronosnet/kronosnet/commit/1d974c9957f083f2af3ae3a328f14…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] include net/if.h to define IFNAMSIZ instead of redefine
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 2ae211b4ead2d62bbe1bece36f0b0a0d04d029cd
https://github.com/kronosnet/kronosnet/commit/2ae211b4ead2d62bbe1bece36f0b0…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename tap_t to nozzle_t
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 6b115002a1101fc87d688e67fb71ab5227c1fe80
https://github.com/kronosnet/kronosnet/commit/6b115002a1101fc87d688e67fb71a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename struct _iface to nozzle_iface (looks better on public headers)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 8d1c0a1cb7d5207fd591318d2e3442687b146880
https://github.com/kronosnet/kronosnet/commit/8d1c0a1cb7d5207fd591318d2e344…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.pc.in
Log Message:
-----------
[nozzle] fix pkg-config to point to nozzle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 26cb4aef1afa2657efc65be012dae23a42e51ae6
https://github.com/kronosnet/kronosnet/commit/26cb4aef1afa2657efc65be012dae…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/api-test-coverage
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
M libnozzle/libnozzle_exported_syms
Log Message:
-----------
[nozzle] rename API from tap_ to nozzle_
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c01ed93d7875952ee9982413e616d382c490188a
https://github.com/kronosnet/kronosnet/commit/c01ed93d7875952ee9982413e616d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename last tap bits to nozzle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: af6ac1e5a945c856156f11f584333720db56d469
https://github.com/kronosnet/kronosnet/commit/af6ac1e5a945c856156f11f584333…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup nozzle_open coding style and return codes
also update the header file for Doxygen man pages
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 59717549f53cf1b11307db71661a2a4c69fa8711
https://github.com/kronosnet/kronosnet/commit/59717549f53cf1b11307db71661a2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] start to cleanup nozzle_close to be more informative and effective
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 2e95d3c7e36d832607ea873813b7778da44d3f9f
https://github.com/kronosnet/kronosnet/commit/2e95d3c7e36d832607ea873813b77…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_up
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c32cf8bbb3e566165627112e018d059ea08cd1e1
https://github.com/kronosnet/kronosnet/commit/c32cf8bbb3e566165627112e018d0…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_down
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 65524c0c2ed6a83509dd9ee0a97c1632af4ab710
https://github.com/kronosnet/kronosnet/commit/65524c0c2ed6a83509dd9ee0a97c1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] re-order functions in order of importance
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 572e9eaffc889f02f9f5a1c60afe2bbf73c737c7
https://github.com/kronosnet/kronosnet/commit/572e9eaffc889f02f9f5a1c60afe2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_add_ip
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 6dcafaaafb5782da8a285f9a54b1d7a95c95422c
https://github.com/kronosnet/kronosnet/commit/6dcafaaafb5782da8a285f9a54b1d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_del_ip
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: af185c07698eaa0a191fbd05378f11ed78133766
https://github.com/kronosnet/kronosnet/commit/af185c07698eaa0a191fbd05378f1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_ips (part 1)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 908429a80660ae645645ce1a86f2508ba8454dbc
https://github.com/kronosnet/kronosnet/commit/908429a80660ae645645ce1a86f25…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] fix test on BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c75ac6a1b4433ee523b87046a3fee01b09c9db09
https://github.com/kronosnet/kronosnet/commit/c75ac6a1b4433ee523b87046a3fee…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_mtu
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 12a38b08597327da3bc9ebbc7235d7a0ff58d67d
https://github.com/kronosnet/kronosnet/commit/12a38b08597327da3bc9ebbc7235d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_mtu and nozzle_reset_mtu
couldn't split those 2 because they are stricly related
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 7734125b6be0501f4d83b7c6a7dbb883d7bd1aad
https://github.com/kronosnet/kronosnet/commit/7734125b6be0501f4d83b7c6a7dbb…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
Tidy some English
Commit: 768ab9cecd9d76c1e5a3a8c3002c4eaf034adf16
https://github.com/kronosnet/kronosnet/commit/768ab9cecd9d76c1e5a3a8c3002c4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_mac
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 78a8844a18d606cba54b3551fa506ac801bb86f5
https://github.com/kronosnet/kronosnet/commit/78a8844a18d606cba54b3551fa506…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_(re)set_mac
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 4176b3b7e113c42fe88ca08bb8947aeeea15fbb4
https://github.com/kronosnet/kronosnet/commit/4176b3b7e113c42fe88ca08bb8947…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_handle_by_name
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 8cfd848739be72f5c29777301b8bf812d462a13f
https://github.com/kronosnet/kronosnet/commit/8cfd848739be72f5c29777301b8bf…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_name_by_handle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: b436b792bdfd7f5683d6a0130a17defa65aed07e
https://github.com/kronosnet/kronosnet/commit/b436b792bdfd7f5683d6a0130a17d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_fd
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 34968eacf36f331711b37a6a861aa127cf81bdb5
https://github.com/kronosnet/kronosnet/commit/34968eacf36f331711b37a6a861aa…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/Makefile.am
Log Message:
-----------
[man] drop redundant update-man-page code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 9f7944b06b48d5a86bbc9a976a5454642f390dca
https://github.com/kronosnet/kronosnet/commit/9f7944b06b48d5a86bbc9a976a545…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/Makefile.am
A libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] start splitting the code across multiple files
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: edfd0713fdffe1ae0931a2c15c8114d8149eb709
https://github.com/kronosnet/kronosnet/commit/edfd0713fdffe1ae0931a2c15c811…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] rename _config to nozzle_lib_config
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ace39c04aab512c42287e95d6f04cc5344bce3b1
https://github.com/kronosnet/kronosnet/commit/ace39c04aab512c42287e95d6f04c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] rename struct _ip to struct nozzle_ip and cleanup related defines
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 208ac31182bf012c5f916cc9ccaf405747edc9fc
https://github.com/kronosnet/kronosnet/commit/208ac31182bf012c5f916cc9ccaf4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] rename sockfd to ioctlfd
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: bbde5606ae4387376d4fa2720ebcca78b0ebe5a4
https://github.com/kronosnet/kronosnet/commit/bbde5606ae4387376d4fa2720ebcc…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[cleanup] rename ip_addr to ipaddr
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: b21e204380041a9e9b365da40f216ad55e833cb9
https://github.com/kronosnet/kronosnet/commit/b21e204380041a9e9b365da40f216…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] document nozzle_iface struct, drop unnecessary ifr struct and cleanup names
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 1a23996103bd04403b47924fa13e67eee4574ce8
https://github.com/kronosnet/kronosnet/commit/1a23996103bd04403b47924fa13e6…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[build] fix build on BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 835966cc4979e24b9e30436137ba4748b9fa8072
https://github.com/kronosnet/kronosnet/commit/835966cc4979e24b9e30436137ba4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] rename lib_mutex to config_mutex
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c93f273967258ca032362fbf7a90ebc981519f32
https://github.com/kronosnet/kronosnet/commit/c93f273967258ca032362fbf7a90e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M configure.ac
M libnozzle/Makefile.am
R libnozzle/api-test-coverage
A libnozzle/man/Doxyfile.in
A libnozzle/man/Makefile.am
R libnozzle/tap_updown_bad/down.d/kronostest
R libnozzle/tap_updown_bad/post-down.d/kronostest
R libnozzle/tap_updown_bad/pre-up.d/kronostest
R libnozzle/tap_updown_bad/up.d/kronostest
R libnozzle/tap_updown_good/down.d/kronostest
R libnozzle/tap_updown_good/post-down.d/kronostest
R libnozzle/tap_updown_good/pre-up.d/kronostest
R libnozzle/tap_updown_good/up.d/kronostest
A libnozzle/tests/Makefile.am
A libnozzle/tests/api-test-coverage
A libnozzle/tests/tap_updown_bad/down.d/kronostest
A libnozzle/tests/tap_updown_bad/post-down.d/kronostest
A libnozzle/tests/tap_updown_bad/pre-up.d/kronostest
A libnozzle/tests/tap_updown_bad/up.d/kronostest
A libnozzle/tests/tap_updown_good/down.d/kronostest
A libnozzle/tests/tap_updown_good/post-down.d/kronostest
A libnozzle/tests/tap_updown_good/pre-up.d/kronostest
A libnozzle/tests/tap_updown_good/up.d/kronostest
Log Message:
-----------
[build] split tests, man pages and build dirs
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 47710d31c3c5449237393644ce63e38e94bfff24
https://github.com/kronosnet/kronosnet/commit/47710d31c3c5449237393644ce63e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/Makefile.am
A libnozzle/internals.c
M libnozzle/internals.h
M libnozzle/libnozzle.c
M libnozzle/tests/Makefile.am
A libnozzle/tests/nozzle_test.c
Log Message:
-----------
[nozzle] split code around to separate libnozzle and testsuite
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 9b16499ccb2a278ebece3a2aa6004e87b3e9e31c
https://github.com/kronosnet/kronosnet/commit/9b16499ccb2a278ebece3a2aa6004…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.c
M libnozzle/internals.h
M libnozzle/libnozzle.c
M libnozzle/tests/nozzle_test.c
Log Message:
-----------
[nozzle] start cleaning internal function names
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/890246767b30...9b16499ccb2a
Branch: refs/heads/master
Home: https://github.com/kronosnet/kronosnet
Commit: 0a4394fa2491aa5fa6c8338786b81b45c76a43d7
https://github.com/kronosnet/kronosnet/commit/0a4394fa2491aa5fa6c8338786b81…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Report ENAMETOOLONG if socket buffers are too small
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 2d5eabd79494390663654b14b858dab1a340202b
https://github.com/kronosnet/kronosnet/commit/2d5eabd79494390663654b14b858d…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
tests: introduce knet_handle_start helper
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 1fcf7db2e51511297461f588ebd0361b0a4ce70e
https://github.com/kronosnet/kronosnet/commit/1fcf7db2e51511297461f588ebd03…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/api_knet_handle_add_datafd.c
M libknet/tests/api_knet_handle_clear_stats.c
M libknet/tests/api_knet_handle_compress.c
M libknet/tests/api_knet_handle_crypto.c
M libknet/tests/api_knet_handle_enable_filter.c
M libknet/tests/api_knet_handle_enable_pmtud_notify.c
M libknet/tests/api_knet_handle_enable_sock_notify.c
M libknet/tests/api_knet_handle_free.c
M libknet/tests/api_knet_handle_get_channel.c
M libknet/tests/api_knet_handle_get_datafd.c
M libknet/tests/api_knet_handle_get_stats.c
M libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_new.c
M libknet/tests/api_knet_handle_pmtud_get.c
M libknet/tests/api_knet_handle_pmtud_getfreq.c
M libknet/tests/api_knet_handle_pmtud_setfreq.c
M libknet/tests/api_knet_handle_remove_datafd.c
M libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_setfwd.c
M libknet/tests/api_knet_host_add.c
M libknet/tests/api_knet_host_enable_status_change_notify.c
M libknet/tests/api_knet_host_get_host_list.c
M libknet/tests/api_knet_host_get_id_by_host_name.c
M libknet/tests/api_knet_host_get_name_by_host_id.c
M libknet/tests/api_knet_host_get_policy.c
M libknet/tests/api_knet_host_get_status.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_host_set_name.c
M libknet/tests/api_knet_host_set_policy.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_log_get_loglevel.c
M libknet/tests/api_knet_log_set_loglevel.c
M libknet/tests/api_knet_recv.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_compress.c
M libknet/tests/api_knet_send_crypto.c
M libknet/tests/api_knet_send_loopback.c
M libknet/tests/api_knet_send_sync.c
Log Message:
-----------
tests: replace open coded error handling with knet_handle_start() calls
Done by:
$ sed -i -e '1h;2,$H;$!d;g' -e 's/knet_h = knet_handle_new(1, logfds\[1\], \(KNET_LOG_[A-Z]*\));\n\n\tif (!knet_h) {\n\t\tprintf("knet_handle_new failed: %s\\n", strerror(errno));\n\t\tflush_logs(logfds\[0\], stdout);\n\t\tclose_logpipes(logfds);\n\t\texit(FAIL);\n\t}/knet_h = knet_handle_start(logfds, \1);/g' libknet/tests/*.c
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: c39a04241e50e12d05b733459f2356fcaf1ccf4a
https://github.com/kronosnet/kronosnet/commit/c39a04241e50e12d05b733459f235…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/api_knet_handle_new.c
M libknet/tests/test-common.c
Log Message:
-----------
tests: skip if socket buffers are too small
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 7b68785932db698cd5a2b7d382eb1e4315f3da93
https://github.com/kronosnet/kronosnet/commit/7b68785932db698cd5a2b7d382eb1…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
More fine-grained error handling
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: a31858b1b60efd661fb33e3a9ac29cef8125532a
https://github.com/kronosnet/kronosnet/commit/a31858b1b60efd661fb33e3a9ac29…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/libknet.h
Log Message:
-----------
Document knet-specific errno values
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 0ac5df44c184efe5f57dd0d929769b7644904335
https://github.com/kronosnet/kronosnet/commit/0ac5df44c184efe5f57dd0d929769…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Anything that stops operation and returns an error should be log_err
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: de6bac3137eb4ecd3824ac371333298bdf062033
https://github.com/kronosnet/kronosnet/commit/de6bac3137eb4ecd3824ac3713332…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Remove spaces after function names
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 4d3686398d6686fdc93596db8af92904ead740cd
https://github.com/kronosnet/kronosnet/commit/4d3686398d6686fdc93596db8af92…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/libknet.h
M libknet/tests/api_knet_handle_add_datafd.c
M libknet/tests/api_knet_handle_clear_stats.c
M libknet/tests/api_knet_handle_compress.c
M libknet/tests/api_knet_handle_crypto.c
M libknet/tests/api_knet_handle_enable_filter.c
M libknet/tests/api_knet_handle_enable_pmtud_notify.c
M libknet/tests/api_knet_handle_enable_sock_notify.c
M libknet/tests/api_knet_handle_free.c
M libknet/tests/api_knet_handle_get_channel.c
M libknet/tests/api_knet_handle_get_datafd.c
M libknet/tests/api_knet_handle_get_stats.c
M libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_new.c
M libknet/tests/api_knet_handle_pmtud_get.c
M libknet/tests/api_knet_handle_pmtud_getfreq.c
M libknet/tests/api_knet_handle_pmtud_setfreq.c
M libknet/tests/api_knet_handle_remove_datafd.c
M libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_setfwd.c
M libknet/tests/api_knet_host_add.c
M libknet/tests/api_knet_host_enable_status_change_notify.c
M libknet/tests/api_knet_host_get_host_list.c
M libknet/tests/api_knet_host_get_id_by_host_name.c
M libknet/tests/api_knet_host_get_name_by_host_id.c
M libknet/tests/api_knet_host_get_policy.c
M libknet/tests/api_knet_host_get_status.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_host_set_name.c
M libknet/tests/api_knet_host_set_policy.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_log_get_loglevel.c
M libknet/tests/api_knet_log_set_loglevel.c
M libknet/tests/api_knet_recv.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_compress.c
M libknet/tests/api_knet_send_crypto.c
M libknet/tests/api_knet_send_loopback.c
M libknet/tests/api_knet_send_sync.c
M libknet/tests/test-common.c
M libknet/tests/test-common.h
M libknet/transport_common.c
Log Message:
-----------
Merge pull request #99 from kronosnet/skip
Skip tests if socket buffers are inadequate
Compare: https://github.com/kronosnet/kronosnet/compare/f8465e758969...4d3686398d66
Branch: refs/heads/skip
Home: https://github.com/kronosnet/kronosnet
Commit: 0a4394fa2491aa5fa6c8338786b81b45c76a43d7
https://github.com/kronosnet/kronosnet/commit/0a4394fa2491aa5fa6c8338786b81…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
Report ENAMETOOLONG if socket buffers are too small
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 2d5eabd79494390663654b14b858dab1a340202b
https://github.com/kronosnet/kronosnet/commit/2d5eabd79494390663654b14b858d…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/test-common.c
M libknet/tests/test-common.h
Log Message:
-----------
tests: introduce knet_handle_start helper
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 1fcf7db2e51511297461f588ebd0361b0a4ce70e
https://github.com/kronosnet/kronosnet/commit/1fcf7db2e51511297461f588ebd03…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/api_knet_handle_add_datafd.c
M libknet/tests/api_knet_handle_clear_stats.c
M libknet/tests/api_knet_handle_compress.c
M libknet/tests/api_knet_handle_crypto.c
M libknet/tests/api_knet_handle_enable_filter.c
M libknet/tests/api_knet_handle_enable_pmtud_notify.c
M libknet/tests/api_knet_handle_enable_sock_notify.c
M libknet/tests/api_knet_handle_free.c
M libknet/tests/api_knet_handle_get_channel.c
M libknet/tests/api_knet_handle_get_datafd.c
M libknet/tests/api_knet_handle_get_stats.c
M libknet/tests/api_knet_handle_get_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_new.c
M libknet/tests/api_knet_handle_pmtud_get.c
M libknet/tests/api_knet_handle_pmtud_getfreq.c
M libknet/tests/api_knet_handle_pmtud_setfreq.c
M libknet/tests/api_knet_handle_remove_datafd.c
M libknet/tests/api_knet_handle_set_transport_reconnect_interval.c
M libknet/tests/api_knet_handle_setfwd.c
M libknet/tests/api_knet_host_add.c
M libknet/tests/api_knet_host_enable_status_change_notify.c
M libknet/tests/api_knet_host_get_host_list.c
M libknet/tests/api_knet_host_get_id_by_host_name.c
M libknet/tests/api_knet_host_get_name_by_host_id.c
M libknet/tests/api_knet_host_get_policy.c
M libknet/tests/api_knet_host_get_status.c
M libknet/tests/api_knet_host_remove.c
M libknet/tests/api_knet_host_set_name.c
M libknet/tests/api_knet_host_set_policy.c
M libknet/tests/api_knet_link_clear_config.c
M libknet/tests/api_knet_link_get_config.c
M libknet/tests/api_knet_link_get_enable.c
M libknet/tests/api_knet_link_get_link_list.c
M libknet/tests/api_knet_link_get_ping_timers.c
M libknet/tests/api_knet_link_get_pong_count.c
M libknet/tests/api_knet_link_get_priority.c
M libknet/tests/api_knet_link_get_status.c
M libknet/tests/api_knet_link_set_config.c
M libknet/tests/api_knet_link_set_enable.c
M libknet/tests/api_knet_link_set_ping_timers.c
M libknet/tests/api_knet_link_set_pong_count.c
M libknet/tests/api_knet_link_set_priority.c
M libknet/tests/api_knet_log_get_loglevel.c
M libknet/tests/api_knet_log_set_loglevel.c
M libknet/tests/api_knet_recv.c
M libknet/tests/api_knet_send.c
M libknet/tests/api_knet_send_compress.c
M libknet/tests/api_knet_send_crypto.c
M libknet/tests/api_knet_send_loopback.c
M libknet/tests/api_knet_send_sync.c
Log Message:
-----------
tests: replace open coded error handling with knet_handle_start() calls
Done by:
$ sed -i -e '1h;2,$H;$!d;g' -e 's/knet_h = knet_handle_new(1, logfds\[1\], \(KNET_LOG_[A-Z]*\));\n\n\tif (!knet_h) {\n\t\tprintf("knet_handle_new failed: %s\\n", strerror(errno));\n\t\tflush_logs(logfds\[0\], stdout);\n\t\tclose_logpipes(logfds);\n\t\texit(FAIL);\n\t}/knet_h = knet_handle_start(logfds, \1);/g' libknet/tests/*.c
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: c39a04241e50e12d05b733459f2356fcaf1ccf4a
https://github.com/kronosnet/kronosnet/commit/c39a04241e50e12d05b733459f235…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/tests/api_knet_handle_new.c
M libknet/tests/test-common.c
Log Message:
-----------
tests: skip if socket buffers are too small
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Commit: 98614b1e61947ed5cbd7120358d4ce282c24ff0c
https://github.com/kronosnet/kronosnet/commit/98614b1e61947ed5cbd7120358d4c…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/transport_common.c
Log Message:
-----------
More fine-grained error handling
Commit: 8bd70c658b2c2400c36212e2377472b9a7db6f16
https://github.com/kronosnet/kronosnet/commit/8bd70c658b2c2400c36212e237747…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/libknet.h
Log Message:
-----------
Document knet-specific errno values
Compare: https://github.com/kronosnet/kronosnet/compare/ccc9b19e051d...8bd70c658b2c
Branch: refs/heads/libtap-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 743062f3b7ce38527867bdb1028c1876d208d33e
https://github.com/kronosnet/kronosnet/commit/743062f3b7ce38527867bdb1028c1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] tests: allow random localhost IPs for testing
- avoids clashing with machine routing
- allows parallel testing
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 4980865a4fc5ae6687b7d345efed57b28795e824
https://github.com/kronosnet/kronosnet/commit/4980865a4fc5ae6687b7d345efed5…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] tests: add better IPv6 private address space randomization
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 9097f413ba3b5ed2cb713e348b19645e8a9d2832
https://github.com/kronosnet/kronosnet/commit/9097f413ba3b5ed2cb713e348b196…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M configure.ac
M libtap/libtap.c
Log Message:
-----------
[libtap] port to freebsd and fix a bunch of small bugs
- tap_open: do mutex lock only after malloc to avoid deadlock
- fix test suite to increase randomness when testing named tap devices
- remove hardcoded paths to /bin/true /bin/false and /bin/grep
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 58b51ee4dd599d9f5cdd373036415be8c54765ea
https://github.com/kronosnet/kronosnet/commit/58b51ee4dd599d9f5cdd373036415…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M README
Log Message:
-----------
[libtap] update README for BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 19fbf074cfd2c59b1150bad29f2722549053050c
https://github.com/kronosnet/kronosnet/commit/19fbf074cfd2c59b1150bad29f272…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libtap/libtap.h
Log Message:
-----------
[libtap] define IFNAMSIZ for applications that don't need/want to include net/if.h
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 0eb6871a7d42722d7dd1c358f184dc2cffdce51d
https://github.com/kronosnet/kronosnet/commit/0eb6871a7d42722d7dd1c358f184d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libtap/libtap.c
Log Message:
-----------
[libtap] BSD: switch to ioctl to destroy tap devices
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 71cd914104e3d76b23d63e8098226f37666b1c18
https://github.com/kronosnet/kronosnet/commit/71cd914104e3d76b23d63e8098226…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M Makefile.am
M NOTES_TO_PACKAGE_MAINTAINERS
M README
M configure.ac
M kronosnet.spec.in
M kronosnetd/Makefile.am
M kronosnetd/cfg.c
M kronosnetd/cfg.h
M kronosnetd/vty_cli_cmds.c
A libnozzle/Makefile.am
A libnozzle/api-test-coverage
A libnozzle/libnozzle.c
A libnozzle/libnozzle.h
A libnozzle/libnozzle.pc.in
A libnozzle/libnozzle_exported_syms
A libnozzle/tap_updown_bad/down.d/kronostest
A libnozzle/tap_updown_bad/post-down.d/kronostest
A libnozzle/tap_updown_bad/pre-up.d/kronostest
A libnozzle/tap_updown_bad/up.d/kronostest
A libnozzle/tap_updown_good/down.d/kronostest
A libnozzle/tap_updown_good/post-down.d/kronostest
A libnozzle/tap_updown_good/pre-up.d/kronostest
A libnozzle/tap_updown_good/up.d/kronostest
R libtap/Makefile.am
R libtap/api-test-coverage
R libtap/libtap.c
R libtap/libtap.h
R libtap/libtap.pc.in
R libtap/libtap_exported_syms
R libtap/tap_updown_bad/down.d/kronostest
R libtap/tap_updown_bad/post-down.d/kronostest
R libtap/tap_updown_bad/pre-up.d/kronostest
R libtap/tap_updown_bad/up.d/kronostest
R libtap/tap_updown_good/down.d/kronostest
R libtap/tap_updown_good/post-down.d/kronostest
R libtap/tap_updown_good/pre-up.d/kronostest
R libtap/tap_updown_good/up.d/kronostest
Log Message:
-----------
[libnozzle] rename libtap to libnozzle (part 1)
Our fearless Debian maintainer wferi made us aware that TAP is an overloaded
term already and it would be very confusing to add yet another one.
nozzle is a good pick from http://www.thesaurus.com/browse/tap
I am sure lib*cock* would have cause havoc :-)
This commit only rename files and allow builds. The API needs to be renamed too,
but that will come over time with major code cleanup as documented here:
https://trello.com/c/pyEKd4UH/396-libnozzle-make-it-production-ga-ready
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 23008b78879a7e60fc379af332249bb1bc7d2b5b
https://github.com/kronosnet/kronosnet/commit/23008b78879a7e60fc379af332249…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] add Doxygen header
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 44c6b8f8bd6086a1fb2d15cddc930dfdefc80863
https://github.com/kronosnet/kronosnet/commit/44c6b8f8bd6086a1fb2d15cddc930…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] include net/if.h to define IFNAMSIZ instead of redefine
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ffe72bf255e688cbf3d2aaca36d651fbabe44189
https://github.com/kronosnet/kronosnet/commit/ffe72bf255e688cbf3d2aaca36d65…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename tap_t to nozzle_t
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 4638b27f1e38cd9eb554158d8fd1b1fa440d5033
https://github.com/kronosnet/kronosnet/commit/4638b27f1e38cd9eb554158d8fd1b…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename struct _iface to nozzle_iface (looks better on public headers)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f1f1f681c9316a1dd507154e20cbbe5d53eaf7b9
https://github.com/kronosnet/kronosnet/commit/f1f1f681c9316a1dd507154e20cbb…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.pc.in
Log Message:
-----------
[nozzle] fix pkg-config to point to nozzle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 52e4281281f81d96552ae6b3b1ec38886b587d48
https://github.com/kronosnet/kronosnet/commit/52e4281281f81d96552ae6b3b1ec3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/api-test-coverage
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
M libnozzle/libnozzle_exported_syms
Log Message:
-----------
[nozzle] rename API from tap_ to nozzle_
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: c81581950f261275c6228f0c237d43205d30e5ba
https://github.com/kronosnet/kronosnet/commit/c81581950f261275c6228f0c237d4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] rename last tap bits to nozzle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 5f781da80091dfc6603b0e40b0cde8b7be5131d1
https://github.com/kronosnet/kronosnet/commit/5f781da80091dfc6603b0e40b0cde…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup nozzle_open coding style and return codes
also update the header file for Doxygen man pages
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f06a3e81d45144a9be47105015d8f76f2441c7dc
https://github.com/kronosnet/kronosnet/commit/f06a3e81d45144a9be47105015d8f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] start to cleanup nozzle_close to be more informative and effective
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a79fc15cd72f337c383dd952e5ff808f9a8f35da
https://github.com/kronosnet/kronosnet/commit/a79fc15cd72f337c383dd952e5ff8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_up
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f675d81ae40397941204fc596fe5ea59506cb2cc
https://github.com/kronosnet/kronosnet/commit/f675d81ae40397941204fc596fe5e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_down
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 05705ee76605c4ec102b381772f35ec4f8e1b8da
https://github.com/kronosnet/kronosnet/commit/05705ee76605c4ec102b381772f35…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] re-order functions in order of importance
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 1c8526cf0560bd779a35b58c4a979f32395a6ac7
https://github.com/kronosnet/kronosnet/commit/1c8526cf0560bd779a35b58c4a979…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_add_ip
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 2015b1ab6eeb36a1e906157463067a14c36acc4b
https://github.com/kronosnet/kronosnet/commit/2015b1ab6eeb36a1e906157463067…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_del_ip
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 01b4c0a9f131de90c27678fa2bd79effd1575efd
https://github.com/kronosnet/kronosnet/commit/01b4c0a9f131de90c27678fa2bd79…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_ips (part 1)
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 1a73ef36a9ef2520de9b91c9e29fa50241606b51
https://github.com/kronosnet/kronosnet/commit/1a73ef36a9ef2520de9b91c9e29fa…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] fix test on BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 58e7eeedd61b74796bea3c663c6aa34c1cd17780
https://github.com/kronosnet/kronosnet/commit/58e7eeedd61b74796bea3c663c6aa…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_mtu
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 6697d87df07da3d33d653926e687ed8583fd2ae9
https://github.com/kronosnet/kronosnet/commit/6697d87df07da3d33d653926e687e…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_set_mtu and nozzle_reset_mtu
couldn't split those 2 because they are stricly related
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 4cb206826c678dd976bc1ba3735d506c77a848cb
https://github.com/kronosnet/kronosnet/commit/4cb206826c678dd976bc1ba3735d5…
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.h
Log Message:
-----------
Tidy some English
Commit: 3bc0705d5b7b4b413fcff4a58439f5843ea4e901
https://github.com/kronosnet/kronosnet/commit/3bc0705d5b7b4b413fcff4a58439f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_mac
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f3b441dfdaebb7dc2ef4fd6224180830bfbec437
https://github.com/kronosnet/kronosnet/commit/f3b441dfdaebb7dc2ef4fd6224180…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_(re)set_mac
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 56911b847f7ba5938cf326ed46e140a7fbabe015
https://github.com/kronosnet/kronosnet/commit/56911b847f7ba5938cf326ed46e14…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_handle_by_name
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 1cd51434716a0a524c336ebc673fccde8f477b5a
https://github.com/kronosnet/kronosnet/commit/1cd51434716a0a524c336ebc673fc…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_name_by_handle
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f4f911d2632218bd4b5788c85e83c56a9c04fd14
https://github.com/kronosnet/kronosnet/commit/f4f911d2632218bd4b5788c85e83c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[nozzle] cleanup and document nozzle_get_fd
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 9f86e8e82caf6e72158fc774d8de42c6c724c576
https://github.com/kronosnet/kronosnet/commit/9f86e8e82caf6e72158fc774d8de4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/Makefile.am
Log Message:
-----------
[man] drop redundant update-man-page code
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 7605c5ce271c118508815c4dd4463dc8b9d060d5
https://github.com/kronosnet/kronosnet/commit/7605c5ce271c118508815c4dd4463…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/Makefile.am
A libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] start splitting the code across multiple files
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 90aa93b9a64cbfbddef6df3e5e944e18b98c4bef
https://github.com/kronosnet/kronosnet/commit/90aa93b9a64cbfbddef6df3e5e944…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] rename _config to nozzle_lib_config
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 2b4689dfd36f90c5aa25f727895a166e97209aad
https://github.com/kronosnet/kronosnet/commit/2b4689dfd36f90c5aa25f727895a1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] rename struct _ip to struct nozzle_ip and cleanup related defines
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f3a75fa4ef0fdbb8119d64c507711b3e87683281
https://github.com/kronosnet/kronosnet/commit/f3a75fa4ef0fdbb8119d64c507711…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] rename sockfd to ioctlfd
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 53fba6441d515a3004445eadbd49cbf2ffc5066d
https://github.com/kronosnet/kronosnet/commit/53fba6441d515a3004445eadbd49c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
M libnozzle/libnozzle.h
Log Message:
-----------
[cleanup] rename ip_addr to ipaddr
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: b8b1671f18197d600218255e2d8b400261938e38
https://github.com/kronosnet/kronosnet/commit/b8b1671f18197d600218255e2d8b4…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.h
M libnozzle/libnozzle.c
Log Message:
-----------
[cleanup] document nozzle_iface struct, drop unnecessary ifr struct and cleanup names
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a3ce35614da78a5ee2a8e192d067d3d220437884
https://github.com/kronosnet/kronosnet/commit/a3ce35614da78a5ee2a8e192d067d…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[build] fix build on BSD
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: a23ab2b8c4e00db897546bdc6227407aed2f14b6
https://github.com/kronosnet/kronosnet/commit/a23ab2b8c4e00db897546bdc62274…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/libnozzle.c
Log Message:
-----------
[nozzle] rename lib_mutex to config_mutex
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: d3abb2bc93f2384547649fed349f970e82a2cab2
https://github.com/kronosnet/kronosnet/commit/d3abb2bc93f2384547649fed349f9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M configure.ac
M libnozzle/Makefile.am
R libnozzle/api-test-coverage
A libnozzle/man/Doxyfile.in
A libnozzle/man/Makefile.am
R libnozzle/tap_updown_bad/down.d/kronostest
R libnozzle/tap_updown_bad/post-down.d/kronostest
R libnozzle/tap_updown_bad/pre-up.d/kronostest
R libnozzle/tap_updown_bad/up.d/kronostest
R libnozzle/tap_updown_good/down.d/kronostest
R libnozzle/tap_updown_good/post-down.d/kronostest
R libnozzle/tap_updown_good/pre-up.d/kronostest
R libnozzle/tap_updown_good/up.d/kronostest
A libnozzle/tests/Makefile.am
A libnozzle/tests/api-test-coverage
A libnozzle/tests/tap_updown_bad/down.d/kronostest
A libnozzle/tests/tap_updown_bad/post-down.d/kronostest
A libnozzle/tests/tap_updown_bad/pre-up.d/kronostest
A libnozzle/tests/tap_updown_bad/up.d/kronostest
A libnozzle/tests/tap_updown_good/down.d/kronostest
A libnozzle/tests/tap_updown_good/post-down.d/kronostest
A libnozzle/tests/tap_updown_good/pre-up.d/kronostest
A libnozzle/tests/tap_updown_good/up.d/kronostest
Log Message:
-----------
[build] split tests, man pages and build dirs
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 74830462332a245af9c31a73f8c3924eadaa3865
https://github.com/kronosnet/kronosnet/commit/74830462332a245af9c31a73f8c39…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/Makefile.am
A libnozzle/internals.c
M libnozzle/internals.h
M libnozzle/libnozzle.c
M libnozzle/tests/Makefile.am
A libnozzle/tests/nozzle_test.c
Log Message:
-----------
[nozzle] split code around to separate libnozzle and testsuite
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 890246767b30e337f41c11fe85a8cbbb7c2b1a0b
https://github.com/kronosnet/kronosnet/commit/890246767b30e337f41c11fe85a8c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libnozzle/internals.c
M libnozzle/internals.h
M libnozzle/libnozzle.c
M libnozzle/tests/nozzle_test.c
Log Message:
-----------
[nozzle] start cleaning internal function names
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/cd30cb14a92e...890246767b30
Branch: refs/heads/master
Home: https://github.com/kronosnet/kronosnet
Commit: 1dfc8220a3f090e5ca6f8b922c63ae64e09260d1
https://github.com/kronosnet/kronosnet/commit/1dfc8220a3f090e5ca6f8b922c63a…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-18 (Mon, 18 Dec 2017)
Changed paths:
M libknet/handle.c
M libknet/host.c
M libknet/internals.h
M libknet/links.c
M libknet/logging.c
M libknet/tests/Makefile.am
M libknet/threads_common.c
M libknet/threads_common.h
M libknet/threads_dsthandler.c
M libknet/threads_pmtud.c
M libknet/transport_sctp.c
M libknet/transports.c
Log Message:
-----------
[PMTUd] fix external API and PMTUd interaction
The problem:
PMTUd can take a long time to release the global read lock, mostly due
to the pthread_cond_timedwait required to ack/nack packets from the
other hosts. This delay could block any wrlock operation for several seconds
if not more.
The solution:
each call to the global pthread_rwlock_wrlock has been changed to a wrapper
that will notify the PMTUd to interrupt its operations (and restart) first,
then get a global write lock that is queued as soon as PMTUd is going out.
This solution also improves a lot shutdown speed.
How to test:
This is not super simple to test and verify. I used 2 VMs with known MTU of
1500. Start knet_bench on both (normal ping_data -C is more than enough).
Once they have established data exchange, change the MTU on one of the nodes
to 1600 (or higher). This should guarantee that the PMTUd process will take
a very long time to complete.
First verify that the PMTUd process takes several seconds.
Once the next PMTUd run starts, hit ctrl+c on the node that is executing
the PMTUd and the process should exit much faster than before this patch.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: f8465e758969e2d4d9b5ed4a486890499419fb09
https://github.com/kronosnet/kronosnet/commit/f8465e758969e2d4d9b5ed4a48689…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Changed paths:
M libknet/handle.c
M libknet/host.c
M libknet/internals.h
M libknet/links.c
M libknet/logging.c
M libknet/tests/Makefile.am
M libknet/threads_common.c
M libknet/threads_common.h
M libknet/threads_dsthandler.c
M libknet/threads_pmtud.c
M libknet/transport_sctp.c
M libknet/transports.c
Log Message:
-----------
Merge pull request #103 from kronosnet/mtu-lock
[PMTUd] fix external API and PMTUd interaction
Compare: https://github.com/kronosnet/kronosnet/compare/0915310bc3da...f8465e758969