From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 27 Jun 2012 08:30:22 +0200 From: Antonio Quartulli Message-ID: <20120627063021.GC3290@ritirata.org> References: <1340740822-4516-1-git-send-email-ordex@autistici.org> <1340740822-4516-4-git-send-email-ordex@autistici.org> <3265215.erIRmWtS44@sven-laptop.home.narfation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ncSAzJYg3Aa9+CRW" Content-Disposition: inline In-Reply-To: <3265215.erIRmWtS44@sven-laptop.home.narfation.org> Subject: Re: [B.A.T.M.A.N.] [PATCH 3/5] batman-adv: enable roaming packets to carry flags Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sven Eckelmann Cc: b.a.t.m.a.n@lists.open-mesh.org --ncSAzJYg3Aa9+CRW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 26, 2012 at 11:18:29PM +0200, Sven Eckelmann wrote: > I am not 100% sure because I haven't checked the code, but couldn't it= be > the case that we send random bits inside reserved at the moment? At le= ast > I cannot remember the part of the code that initialized reserver to any > specific value. That would make the change incompatible with older > batman-adv version. Damn, that's true! It is not initialised anywhere.... What if I append a new field to the roam_adv_packet struct? Old version will ignore it and there is no size check to drop packets longer than expected. Cheers, --=20 Antonio Quartulli =2E.each of us alone is worth nothing.. Ernesto "Che" Guevara --ncSAzJYg3Aa9+CRW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAk/qqH0ACgkQpGgxIkP9cwfZMwCeI52I6bj1nDwX1VytUSAkty4b 2zoAniGPso9hfG+NHqPnWQ3RVhWvrujQ =yLS6 -----END PGP SIGNATURE----- --ncSAzJYg3Aa9+CRW--