OSDN Git Service

i40e: Fix incorrect argument in call to ipv6_addr_any()
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 12 Feb 2021 17:51:56 +0000 (11:51 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 23:07:13 +0000 (15:07 -0800)
commit7f76963b692dd499e697d86e26eda8ca24b45c05
treea3247ed589ae0c992b18cec9d75cf78f149223f3
parent14b3b46a67f78ade99eafcbf320105615e948569
i40e: Fix incorrect argument in call to ipv6_addr_any()

It seems that the right argument to be passed is &tcp_ip6_spec->ip6dst,
not &tcp_ip6_spec->ip6src, when calling function ipv6_addr_any().

Addresses-Coverity-ID: 1501734 ("Copy-paste error")
Fixes: efca91e89b67 ("i40e: Add flow director support for IPv6")
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c