diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2012-03-01 02:35:19 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-05-11 04:08:12 -0400 |
commit | d7b2a97e03ad40c7986d3c2707b0b5ba79a63884 (patch) | |
tree | 7c67766c2e981b31db771fbabba610a2331ace56 /net/batman-adv/bat_iv_ogm.c | |
parent | c3e29312c8c27d403f91522711ce9a290c7571c9 (diff) |
batman-adv: rename last_valid to last_seen
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/bat_iv_ogm.c')
-rw-r--r-- | net/batman-adv/bat_iv_ogm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/batman-adv/bat_iv_ogm.c b/net/batman-adv/bat_iv_ogm.c index e0aaf8c87d65..8652a7536b15 100644 --- a/net/batman-adv/bat_iv_ogm.c +++ b/net/batman-adv/bat_iv_ogm.c | |||
@@ -651,7 +651,7 @@ static void bat_iv_ogm_orig_update(struct bat_priv *bat_priv, | |||
651 | rcu_read_unlock(); | 651 | rcu_read_unlock(); |
652 | 652 | ||
653 | orig_node->flags = batman_ogm_packet->flags; | 653 | orig_node->flags = batman_ogm_packet->flags; |
654 | neigh_node->last_valid = jiffies; | 654 | neigh_node->last_seen = jiffies; |
655 | 655 | ||
656 | spin_lock_bh(&neigh_node->tq_lock); | 656 | spin_lock_bh(&neigh_node->tq_lock); |
657 | ring_buffer_set(neigh_node->tq_recv, | 657 | ring_buffer_set(neigh_node->tq_recv, |
@@ -772,11 +772,11 @@ static int bat_iv_ogm_calc_tq(struct orig_node *orig_node, | |||
772 | if (!neigh_node) | 772 | if (!neigh_node) |
773 | goto out; | 773 | goto out; |
774 | 774 | ||
775 | /* if orig_node is direct neighbor update neigh_node last_valid */ | 775 | /* if orig_node is direct neighbor update neigh_node last_seen */ |
776 | if (orig_node == orig_neigh_node) | 776 | if (orig_node == orig_neigh_node) |
777 | neigh_node->last_valid = jiffies; | 777 | neigh_node->last_seen = jiffies; |
778 | 778 | ||
779 | orig_node->last_valid = jiffies; | 779 | orig_node->last_seen = jiffies; |
780 | 780 | ||
781 | /* find packet count of corresponding one hop neighbor */ | 781 | /* find packet count of corresponding one hop neighbor */ |
782 | spin_lock_bh(&orig_node->ogm_cnt_lock); | 782 | spin_lock_bh(&orig_node->ogm_cnt_lock); |