Re: [B.A.T.M.A.N.] [PATCH] batman-adv: use ETH_HLEN instead of sizeof(struct ethhdr)
From: Antonio Quartulli <hidden>
Date: 2012-02-17 10:29:30
Attachments
- (unnamed) [application/pgp-signature] 490 bytes
From: Antonio Quartulli <hidden>
Date: 2012-02-17 10:29:30
On Fri, Feb 17, 2012 at 06:05:42 +0800, Marek Lindner wrote:
On Thursday, February 16, 2012 07:40:00 Antonio Quartulli wrote:quoted
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.
Oh, thanks. I'll send v2
Cheers, Marek
-- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara