Branch: refs/heads/pmtud-fixes Home: https://github.com/kronosnet/kronosnet Commit: 30b789d2d2b9985e2044b2a7caefb513e76c1027 https://github.com/kronosnet/kronosnet/commit/30b789d2d2b9985e2044b2a7caefb5... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2019-07-31 (Wed, 31 Jul 2019)
Changed paths: M libknet/tests/api_knet_send_crypto.c M libknet/threads_pmtud.c
Log Message: ----------- [pmtud] break on loop when using crypto
under certain circumstances, when crypto is enabled, pMTUD will continue sending a packet of the same size over and over just at the MTU boundary.
In case we are sending the same packet twice (due to crypto alignment and such), it means we cannot make any more progress and we need to take that size as ultimate MTU.
Fixes: https://github.com/kronosnet/kronosnet/issues/241
Also change default test parameters to easily trigger the issue in case of regression. Tested using ifconfig lo mtu 65520.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com