bnxt_en: Fix ipv6 RFS filter matching logic.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 17 Jan 2020 05:32:46 +0000 (00:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2020 14:43:47 +0000 (14:43 +0000)
commit23b8f9d7aa90574daf83ccbb541370c17c538372
treead22e34383489f6af6a8d23331d84cdabbcd2875
parent7f9681a11b18f33aa408adee38b150e6c8726057
bnxt_en: Fix ipv6 RFS filter matching logic.

[ Upstream commit 6fc7caa84e713f7627e171ab1e7c4b5be0dc9b3d ]

Fix bnxt_fltr_match() to match ipv6 source and destination addresses.
The function currently only checks ipv4 addresses and will not work
corrently on ipv6 filters.

Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c