From 6a9d37dfe692b82af2417f80af35fa24a26df0d8 Mon Sep 17 00:00:00 2001 From: Jeff Shaw Date: Fri, 17 Jun 2016 13:18:19 -0700 Subject: netlink: re-define DBL_MAX to be smaller than usual. Without this modification I see a timing wheel assertion failure. Change-Id: I20435b36e06d8978771809857cd1a1121f785bc0 Signed-off-by: Jeff Shaw --- netlink/librtnl/rtnl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'netlink/librtnl') diff --git a/netlink/librtnl/rtnl.c b/netlink/librtnl/rtnl.c index c0b2327..d66c2ee 100644 --- a/netlink/librtnl/rtnl.c +++ b/netlink/librtnl/rtnl.c @@ -32,6 +32,9 @@ #include #include +#undef DBL_MAX +#define DBL_MAX 1000000000.0 + typedef enum { RTNL_E_OPEN, RTNL_E_CLOSE, -- cgit 1.2.3-korg