Re: [ovs-dev] [PATCH] datapath: flow_netlink: Fix a bug.

2014-07-23 Thread Alex Wang
Thx for the review, applied to master, On Wed, Jul 23, 2014 at 9:46 AM, Pravin Shelar wrote: > On Tue, Jul 22, 2014 at 11:36 PM, Alex Wang wrote: > > Commit 62974663fe (datapath/flow_netlink: Create right mask with > > disabled megaflows) introduced the bug which caused > > ovs_nla_get_match()

Re: [ovs-dev] [PATCH] datapath: flow_netlink: Fix a bug.

2014-07-23 Thread Pravin Shelar
On Tue, Jul 22, 2014 at 11:36 PM, Alex Wang wrote: > Commit 62974663fe (datapath/flow_netlink: Create right mask with > disabled megaflows) introduced the bug which caused > ovs_nla_get_match() returns immediately after parsing the flow > mask for OVS_KEY_ATTR_ENCAP. Consequently, when vlan encap

[ovs-dev] [PATCH] datapath: flow_netlink: Fix a bug.

2014-07-22 Thread Alex Wang
Commit 62974663fe (datapath/flow_netlink: Create right mask with disabled megaflows) introduced the bug which caused ovs_nla_get_match() returns immediately after parsing the flow mask for OVS_KEY_ATTR_ENCAP. Consequently, when vlan encapsulated packets are present, the corresponding datapath flow