* [B.A.T.M.A.N.] [PATCH v2] batman-adv: init neigh node last seen field
@ 2016-03-11 15:01 Sven Eckelmann
2016-03-20 10:06 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2016-03-11 15:01 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Marek Lindner
From: Marek Lindner <mareklindner@neomailbox.ch>
Fixes: 58232977fbaf ("basic routing code complete (hases and ring buffer added) -> needs testing !")
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
[sven@narfation.org: fix conflicts with current version]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
v2:
- rebased patch
Patch was resurrected from https://patchwork.open-mesh.org/patch/4634/
I've requested an rebased version at
https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2016-March/014641.html
but done it myself because it was rather trivial.
---
net/batman-adv/originator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index e63d6a5..3ca98fc 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -663,6 +663,7 @@ batadv_neigh_node_new(struct batadv_orig_node *orig_node,
ether_addr_copy(neigh_node->addr, neigh_addr);
neigh_node->if_incoming = hard_iface;
neigh_node->orig_node = orig_node;
+ neigh_node->last_seen = jiffies;
/* extra reference for return */
kref_init(&neigh_node->refcount);
--
2.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-20 10:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 15:01 [B.A.T.M.A.N.] [PATCH v2] batman-adv: init neigh node last seen field Sven Eckelmann
2016-03-20 10:06 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox