[ovs-dev] [PATCH] datapath: Fix tunnel hashing

Jesse Gross jesse at nicira.com
Tue Oct 4 17:42:01 PDT 2011

On Tue, Oct 4, 2011 at 2:33 PM, Pravin B Shelar <pshelar at nicira.com> wrote:
> struct port_lookup_key is getting extra 4 bytes due to alignment on x86_64.
> That is messing with hash calculation which uses sizeof operator to
> calculate key length. Following patch fixes tunnel hashing by using correct
> key length.
> This bug was introduced by commit f686a33af8cb41ee228e6a35410c9a488fba3eb1
> "datapath: Streamline tunnel port lookup"
> Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
> Bug #7622

Acked-by: Jesse Gross <jesse at nicira.com>

More information about the dev mailing list