change KDBUS_INFINITE_TIMEOUT_NS to 0x3ff.. to avoid wraparound - will work for 144... 45/86345/1
authorKonrad Lipinski <konrad.l@samsung.com>
Wed, 31 Aug 2016 15:06:31 +0000 (17:06 +0200)
committerKonrad Lipinski <konrad.l@samsung.com>
Wed, 31 Aug 2016 15:06:55 +0000 (17:06 +0200)
Change-Id: I597460ffb82d5551f221de0554c0f81746f5dee9

gio/gkdbus.c

index 9151107..95aea22 100755 (executable)
@@ -64,7 +64,7 @@
 #include "gunixfdmessage.h"
 
 #define KDBUS_MSG_MAX_SIZE         8192
-#define KDBUS_INFINITE_TIMEOUT_NS   0x7fffffffffffffffLLU
+#define KDBUS_INFINITE_TIMEOUT_NS   0x3fffffffffffffffLLU
 #define KDBUS_POOL_SIZE            (16 * 1024LU * 1024LU)
 #define KDBUS_MEMFD_THRESHOLD      (512 * 1024LU)
 #define KDBUS_ALIGN8(l)            (((l) + 7) & ~7)