flow: Don't assume non-IPv4 is IPv6 for un-wildcarding.
authorJustin Pettit <jpettit@nicira.com>
Fri, 28 Jun 2013 18:31:48 +0000 (11:31 -0700)
committerJustin Pettit <jpettit@nicira.com>
Sat, 29 Jun 2013 01:35:03 +0000 (18:35 -0700)
commit0aa9aaee9fab1a3534a77c79736f9843edebe88a
treef38ce30a8a2d7d511435f11aa60d72233699aea3
parent039ebcf1ec5ca2da59c5d22a1782dc04835c3dce
flow: Don't assume non-IPv4 is IPv6 for un-wildcarding.

When determinining what fields to un-wildcard for the symmetric L4 hash,
don't include the IPv6 address fields if the packet isn't IPv6.

Reported-by: Jarno Rajahalme <jarno.rajahalme@nsn.com>
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/flow.c