From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Wed, 7 Nov 2012 22:44:35 +0800 References: <1352038798-29658-1-git-send-email-sven@narfation.org> <1352045505-8435-1-git-send-email-sven@narfation.org> In-Reply-To: <1352045505-8435-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201211072244.35334.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [RFCv2 1/4] batman-adv: Reserve extra bytes in skb for better alignment 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: b.a.t.m.a.n@lists.open-mesh.org On Monday, November 05, 2012 00:11:45 Sven Eckelmann wrote: > The ethernet header is 14 bytes long. Therefore, the data after it is not 4 > byte aligned and may cause problems on systems without unaligned data > access. Reserving NET_IP_ALIGN more byes can fix the misalignment of the > ethernet header. > > Signed-off-by: Sven Eckelmann > --- > Oops, the allocation of the skb also has to be changed > > bat_iv_ogm.c | 8 +++++--- > icmp_socket.c | 4 ++-- > translation-table.c | 20 ++++++++++---------- > vis.c | 9 +++++---- > 4 files changed, 22 insertions(+), 19 deletions(-) Applied in revision 7f91790. Thanks, Marek