[acassen/keepalived] f0f7cb: vrrp: fix gratuitous ARP refresh timer handling
Alexandre Cassen <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <538a2c3fc9ba8_9e811abd40256f4@hookshot-fe1-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/acassen/keepalived
Commit: f0f7cbd14f51ebe0aada7d253811e776b868af5c
https://github.com/acassen/keepalived/commit/f0f7cbd14f51ebe0aada7d253811e776b868af5c
Author: Alexandre Cassen <[email protected]>
Date: 2014-05-31 (Sat, 31 May 2014)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_parser.c
M lib/timer.c
M lib/timer.h
Log Message:
-----------
vrrp: fix gratuitous ARP refresh timer handling
Previous code was using an 'int' to store parsed timer value. This value
was then expanded to TIMER_HZ which can lead to a wrapping issue if
requested timer is longer than local machine 'int' representation.
This patch reworked the code to use timeval_t instead and perfrom
regular timeval operations.
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel