From: Simon Wunderlich Date: Thu, 30 Aug 2012 16:22:27 +0000 (+0200) Subject: batman-adv: don't rely on positions in struct for hashing X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~329^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07568d0369f93cd54d2e5ca6f5c64f5b55557857;p=pandora-kernel.git 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 Signed-off-by: Simon Wunderlich Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed