]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commitcd926f2e4576016e8d430bff3cf329f206903f9b
treebec47e8eefab9a2ebd248b596ee43571671fe09f
parent265d2964579f2a0d8b9f8bf53b7ec2117ac3ecef
bnxt_en: Fix ipv6 RFS filter matching logic.

BugLink: https://bugs.launchpad.net/bugs/1862429
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c