* [B.A.T.M.A.N.] [PATCH] batman-adv: fix ROAM flag de-selection
@ 2012-11-05 15:34 Antonio Quartulli
2012-11-05 16:05 ` Antonio Quartulli
0 siblings, 1 reply; 3+ messages in thread
From: Antonio Quartulli @ 2012-11-05 15:34 UTC (permalink / raw)
To: b.a.t.m.a.n
In tt_global_add() the ROAM flag is improperly unset. This makes the
next check fail and so preventing emptying the old originator_list for
the involved tt_global_entry
This was introduced by ("batman-adv: roaming handling mechanism redesign")
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
This patch should go to next so that it can be squashed with the one introducing
the "broken" change.
translation-table.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/translation-table.c b/translation-table.c
index 6fecb94..f30360c 100644
--- a/translation-table.c
+++ b/translation-table.c
@@ -860,14 +860,6 @@ int batadv_tt_global_add(struct batadv_priv *bat_priv,
*/
common->flags &= ~BATADV_TT_CLIENT_TEMP;
- /* if this is a normal add, possibly unset the ROAM flag. This
- * flag could have been set before because the client was
- * roaming, but now that the node got the ADD event, the flag
- * can be unset
- */
- if (!(flags & BATADV_TT_CLIENT_ROAM))
- common->flags &= ~BATADV_TT_CLIENT_ROAM;
-
/* If there is the BATADV_TT_CLIENT_ROAM flag set, there is only
* one originator left in the list and we previously received a
* delete + roaming change for this originator.
--
1.8.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix ROAM flag de-selection
2012-11-05 15:34 [B.A.T.M.A.N.] [PATCH] batman-adv: fix ROAM flag de-selection Antonio Quartulli
@ 2012-11-05 16:05 ` Antonio Quartulli
2012-11-07 15:12 ` Marek Lindner
0 siblings, 1 reply; 3+ messages in thread
From: Antonio Quartulli @ 2012-11-05 16:05 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
On Mon, Nov 05, 2012 at 04:34:34PM +0100, Antonio Quartulli wrote:
> In tt_global_add() the ROAM flag is improperly unset. This makes the
> next check fail and so preventing emptying the old originator_list for
> the involved tt_global_entry
>
> This was introduced by ("batman-adv: roaming handling mechanism redesign")
>
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Ops, I just forgot:
Reported-by: Mike Burmeister-Brown <mike@open-mesh.com>
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix ROAM flag de-selection
2012-11-05 16:05 ` Antonio Quartulli
@ 2012-11-07 15:12 ` Marek Lindner
0 siblings, 0 replies; 3+ messages in thread
From: Marek Lindner @ 2012-11-07 15:12 UTC (permalink / raw)
To: b.a.t.m.a.n
On Tuesday, November 06, 2012 00:05:42 Antonio Quartulli wrote:
> On Mon, Nov 05, 2012 at 04:34:34PM +0100, Antonio Quartulli wrote:
> > In tt_global_add() the ROAM flag is improperly unset. This makes the
> > next check fail and so preventing emptying the old originator_list for
> > the involved tt_global_entry
> >
> > This was introduced by ("batman-adv: roaming handling mechanism
> > redesign")
> >
> > Signed-off-by: Antonio Quartulli <ordex@autistici.org>
>
> Ops, I just forgot:
>
> Reported-by: Mike Burmeister-Brown <mike@open-mesh.com>
Applied in revision 846815f.
Thanks,
Marek
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-07 15:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-05 15:34 [B.A.T.M.A.N.] [PATCH] batman-adv: fix ROAM flag de-selection Antonio Quartulli
2012-11-05 16:05 ` Antonio Quartulli
2012-11-07 15:12 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox