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:32:09 +0000 (18:32 -0700)
commit7f8a65cac1a42e1c8eb1b1f6ebf76b57718befc4
tree1eaac64c05e1e1093b88fc480086e799af24a2d8
parent6a3e30f3e728e4a9692e03514f061aa341d62ebf
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