From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Mon, 15 Mar 2010 01:52:35 +0800 References: <20100314155025.GA18908@sven-atom.lazhur.ath.cx> <1268586955-29220-1-git-send-email-sven.eckelmann@gmx.de> In-Reply-To: <1268586955-29220-1-git-send-email-sven.eckelmann@gmx.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003150152.35548.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: Clone shared bat packets before modifying them 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: The list for a Better Approach To Mobile Ad-hoc Networking On Monday 15 March 2010 01:15:55 Sven Eckelmann wrote: > "tcpdump" and "batctl td" will receive packets with a wrong sequence > number on systems with a different endianess than network byte order. > This happens due to the reordering of bytes in the function which > handles aggregated bat packets. The function which receives the bat > packets must ensure that these buffers aren't shared with anything else > before that function tries to write into it. Otherwise it has to copy > the buffers so it is save again to change them. Applied in rev 1598. Thanks for this quick fix! Cheers, Marek