Skip to contentSkip to conversation

iavf_fdir: wrongly use rte_flow_item_* for copy to build protocol hdr

dpdk-dev [email protected] 1 participant 2 messages Nov 22, 2020 – Dec 30, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=581

Bug ID: 581
Summary: iavf_fdir: wrongly use rte_flow_item_* for copy to
build protocol hdr
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: ethdev
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

iavf_fdir_parse_pattern uses the rte_flow_item_* struct as original data for copy to build hdr buffer. It assumes rte_flow_item_* struct represent the real protocol header but this assumption is not true[1][2].

[1]:
commit 09315fc83861 ("ethdev: add VLAN attributes to ethernet and VLAN items")

[2]:
commit ad976bd40d28 ("ethdev: add extensions attributes to IPv6 item")

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=581

murphy ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #2 from murphy ([email protected]) ---
http://patches.dpdk.org/patch/84208/
http://patches.dpdk.org/patch/83589/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.