]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: properly store the roaming time
authorAntonio Quartulli <ordex@autistici.org>
Fri, 24 Aug 2012 15:54:07 +0000 (17:54 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 29 Oct 2012 08:42:41 +0000 (09:42 +0100)
commitd45dd0733222241c7900ea77fa25d1677dbd239d
tree2e235f35bda18042986db2c49b01c9b8f8ef5717
parent33ac1c58e7034ca12404649e24ed8d939a1210cc
batman-adv: properly store the roaming time

in case of a new global entry added because of roaming, the roam_at field must
be properly initiated with the current time. This value will be later use to
purge this entry out on time out (if nobody claims it). Instead roam_at field
is now set to zero in this situation leading to an immediate purging of the
related entry.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/translation-table.c