flow: Fix flow_wc_map() for ICMPv6/IGMP type and code.
authorDaniele Di Proietto <diproiettod@vmware.com>
Tue, 26 Apr 2016 02:01:47 +0000 (19:01 -0700)
committerDaniele Di Proietto <diproiettod@vmware.com>
Mon, 2 May 2016 20:56:36 +0000 (13:56 -0700)
commit8ecb3068daaba7a3a11b68ab4b171591b48b7994
tree11d70a67a0e0bcf4b92e5c4046798f8ee321d917
parent7d7753e4ca4ea6ef040685e366e5eb0db787754c
flow: Fix flow_wc_map() for ICMPv6/IGMP type and code.

flow_wc_map() should include 'tp_src' and 'tp_dst' for ICMPv6 and IGMP
packets, since they're used for type and code.

This caused installed flows in the userspace datapath to always have
ICMPv6 code and type wildcarded (there are no other users of this
function).

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/flow.c
tests/ofproto-dpif.at