]> git.ipfire.org Git - people/arne_f/kernel.git/commit
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:18:22 +0000 (14:18 +0000)
commite99b5648c7a719e5bf4431ed59ab6e98485268e9
treec6c6e0890509ce0a1c6f801332d8155ba85b6cf6
parentdc2e1d86500c904f7a4f730ad0481bb42f2f6188
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