Thread (4 messages) 4 messages, 3 authors, 2012-09-09

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: don't rely on positions in struct for hashing

From: Marek Lindner <hidden>
Date: 2012-09-09 08:34:50

On Friday, August 31, 2012 00:22:27 Simon Wunderlich wrote:
The hash functions in the bridge loop avoidance code expects the
VLAN vid to be right after the mac address, but this is not guaranteed.

Fix this by explicitly hashing over the right fields of the struct.

Reported-by: Marek Lindner <redacted>
Signed-off-by: Simon Wunderlich <redacted>
---
 bridge_loop_avoidance.c |   32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)
Applied in revision 7e15c93.

Thanks,
Marek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help