]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix incorrect address type for IPv6 flow rules
authorSylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
Fri, 19 Aug 2022 10:45:52 +0000 (12:45 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 24 Aug 2022 19:21:31 +0000 (12:21 -0700)
commit8ac16049d5ae5f4d8382d9883b4648daa279bd96
tree13bc8dd5f0d96e1c3de3e7fd636f5faaed4f1d78
parent69e7649c465c8c3f13eede2da6a2437b06b5d824
i40e: Fix incorrect address type for IPv6 flow rules

It was not possible to create 1-tuple flow director
rule for IPv6 flow type. It was caused by incorrectly
checking for source IP address when validating user provided
destination IP address.

Fix this by changing ip6src to correct ip6dst address
in destination IP address validation for IPv6 flow type.

Fixes: ad28d0d29440 ("i40e: Add flow director support for IPv6")
Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c