View | Details | Raw Unified | Return to bug 942
Collapse All | Expand All

(-)a/drivers/net/i40e/i40e_flow.c (-3 / +1 lines)
Lines 2445-2452 i40e_flow_parse_fdir_pattern(struct rte_eth_dev *dev, Link Here
2445
					return -rte_errno;
2445
					return -rte_errno;
2446
				}
2446
				}
2447
			}
2447
			}
2448
			if (eth_spec && eth_mask &&
2448
			if (eth_spec && eth_mask && eth_mask->type) {
2449
			next_type == RTE_FLOW_ITEM_TYPE_END) {
2450
				if (eth_mask->type != RTE_BE16(0xffff)) {
2449
				if (eth_mask->type != RTE_BE16(0xffff)) {
2451
					rte_flow_error_set(error, EINVAL,
2450
					rte_flow_error_set(error, EINVAL,
2452
						      RTE_FLOW_ERROR_TYPE_ITEM,
2451
						      RTE_FLOW_ERROR_TYPE_ITEM,
2453
- 

Return to bug 942