Re: [B.A.T.M.A.N.] [PATCH] batman-adv: use ETH_HLEN instead of sizeof(struct ethhdr)
From: Marek Lindner <hidden>
Date: 2012-02-17 10:05:42
From: Marek Lindner <hidden>
Date: 2012-02-17 10:05:42
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