Branch: refs/heads/master
Home:
https://github.com/jpirko/libteam
Commit: 5b538c0ef22dd9e42513bf2c137e3efca24e807c
https://github.com/jpirko/libteam/commit/5b538c0ef22dd9e42513bf2c137e3efc...
Author: Marcelo Ricardo Leitner <marcelo.leitner(a)gmail.com>
Date: 2015-08-28 (Fri, 28 Aug 2015)
Changed paths:
M libteamdctl/cli_usock.c
Log Message:
-----------
libteamdctl: fix timeval value for select
timeval.tv_usec shouldn't be bigger than 10^6, as then it overlaps
.tv_sec.
The fix is to normalize the fields regarding their resolutions.
Fixes: 7824c18d65ab ("libteamdctl: increase usock timeout to 5secs")
Reported-by: Vitezslav Humpa <vhumpa(a)redhat.com>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner(a)gmail.com>
Acked-by: Flavio Leitner <fbl(a)sysclose.org>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>