diff options
author | Justin Pettit <jpettit@nicira.com> | 2013-06-26 16:37:16 -0700 |
---|---|---|
committer | Justin Pettit <jpettit@nicira.com> | 2013-06-27 19:30:26 -0700 |
commit | 6cdd514560e16a294d09aa9d6bf5c8c7ac31e442 (patch) | |
tree | eda5522dd92e9663ca0b750a08c2845810e77959 /lib/bond.c | |
parent | bed7d6a1b7316db3f0be19c9f2d58cc7d71a24fa (diff) |
flow: Only un-wildcard relevant IP headers.
When determining the fields to un-wildcard, we need to be careful
about only un-wildcarding fields that are relevant. Also, we
didn't properly handle IPv6 addresses.
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/bond.c')
-rw-r--r-- | lib/bond.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1397,12 +1397,12 @@ choose_output_slave(const struct bond *bond, const struct flow *flow, return NULL; } if (wc) { - flow_mask_hash_fields(wc, NX_HASH_FIELDS_SYMMETRIC_L4); + flow_mask_hash_fields(flow, wc, NX_HASH_FIELDS_SYMMETRIC_L4); } /* Fall Through. */ case BM_SLB: if (wc) { - flow_mask_hash_fields(wc, NX_HASH_FIELDS_ETH_SRC); + flow_mask_hash_fields(flow, wc, NX_HASH_FIELDS_ETH_SRC); } e = lookup_bond_entry(bond, flow, vlan); if (!e->slave || !e->slave->enabled) { |