From 04b5a939c6a29cdbc733b1113ee8baf400b601bb Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Thu, 30 Apr 2020 21:21:36 +0200 Subject: lib: Fix updating retransmission wheel Fixes infinite rescheduling with RTO getting lower than the timerwheel resolution. For very low RTO values we'd need a big packet buffer with the current memory allocator implementation (rdrbuff). Setting a (configurable) minimum RTO (250 us) reduces this need. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/config.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/config.h.in') diff --git a/src/lib/config.h.in b/src/lib/config.h.in index b6e49100..7cac76a6 100644 --- a/src/lib/config.h.in +++ b/src/lib/config.h.in @@ -66,3 +66,5 @@ #define DU_BUFF_HEADSPACE @DU_BUFF_HEADSPACE@ #define DU_BUFF_TAILSPACE @DU_BUFF_TAILSPACE@ + +#define RTO_MIN @FRCT_RTO_MIN@ -- cgit v1.2.3