projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c782966
)
batman-adv: init neigh node last seen field
author
Marek Lindner
<mareklindner@neomailbox.ch>
Fri, 11 Mar 2016 15:01:09 +0000
(16:01 +0100)
committer
Antonio Quartulli
<a@unstable.cc>
Sun, 24 Apr 2016 07:39:19 +0000
(15:39 +0800)
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
[sven@narfation.org: fix conflicts with current version]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/originator.c
patch
|
blob
|
blame
|
history
diff --git
a/net/batman-adv/originator.c
b/net/batman-adv/originator.c
index e4cbb0753e37ff6681a20e8912df1f4ad1e74a05..d52f67a0c057230b4b1dfa66d43594d7f30625ee 100644
(file)
--- 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);