diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2012-08-30 18:22:27 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-11-14 21:00:32 +0100 |
commit | 07568d0369f93cd54d2e5ca6f5c64f5b55557857 (patch) | |
tree | f30f4188b200b9cdb1d3b68d52f1d791e4791ac3 /lib/uuid.c | |
parent | bf0098f22ca7b59e8844ac6882bbae230d34b98d (diff) |
batman-adv: don't rely on positions in struct for hashing
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 <lindner_marek@yahoo.de>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions