batman-adv: init neigh node last seen field

Message ID 1438682540-18625-1-git-send-email-mareklindner@neomailbox.ch (mailing list archive)
State Superseded, archived
Delegated to: Marek Lindner
Headers

Commit Message

Marek Lindner Aug. 4, 2015, 10:02 a.m. UTC
  Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
---
 net/batman-adv/originator.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Sven Eckelmann March 10, 2016, 6:48 p.m. UTC | #1
On Tuesday 04 August 2015 18:02:20 Marek Lindner wrote:
> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
> ---

It looks like this patch doesn't apply anymore. Can you please resent it or
mark it correctly in patchwork [1].

Thanks,
        Sven

[1] https://patchwork.open-mesh.org/patch/4634/
  

Patch

diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index 0c66d8f..58d48c9 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -610,6 +610,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 */
 	atomic_set(&neigh_node->refcount, 2);