From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Fri, 17 Feb 2012 18:05:42 +0800 References: <1329349200-8507-1-git-send-email-ordex@autistici.org> In-Reply-To: <1329349200-8507-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201202171805.42454.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: use ETH_HLEN instead of sizeof(struct ethhdr) 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 Thursday, February 16, 2012 07:40:00 Antonio Quartulli wrote: > Instead of using sizeof(struct ethhdr) it is strongly recommended to use > the kernel macro ETH_HLEN. This patch substitute each occurrence of the > former expressione with the latter one. You have missed 2 incarnations. :) Check bridge_loop_avoidance.c line 859 and send.c line 54. Cheers, Marek