Re: [B.A.T.M.A.N.] [PATCH-maint 1/4] batman-adv: fix speedy join for DAT cache replies

Simon Wunderlich
2015-08-25T15:24:01Z

[-- Attachment #1: Type: text/plain, Size: 553 bytes --]

Hi Antonio,

On Tuesday 25 August 2015 11:42:05 Antonio Quartulli wrote:
> On 21/08/15 17:15, Simon Wunderlich wrote:
> > + /* Cache replies should not be considered for speedy
> > + * join, since the clients do not actually reside at
> > + * the originator.
> > + */
> > + if (subtype != BATADV_P_DAT_CACHE_REPLY) {
>
> Tha patch looks good but this should really be:
>
> if (subtype == BATADV_P_DATA) {
>
> because speedy join is supposed to work with any payload packet.
>

OK, will make that change in PATCH v2.

Thanks,
Simon

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]