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>
Thu, 23 Jan 2020 07:22:51 +0000 (08:22 +0100)
commite2c97ff56211b4dd7a2d2df6884dc25f636f779a
tree7c4173df603e6e00ee452e9b63ace932e2e1d1c0
parentfcbf29512cc47430a90c3c5c48e29b261501bcdf
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c