[dpdk-dev] [Bug 581] iavf_fdir: wrongly use rte_flow_item_* for copy to build protocol hdr

bugzilla at dpdk.org bugzilla at dpdk.org
Sun Nov 22 14:06:02 CET 2020


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: dev at dpdk.org
          Reporter: jackmin at nvidia.com
  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")

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list