]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2020 13:38:29 +0000 (14:38 +0100)
commit2b3ef2b6b0b3bd5db2efd17b5aa523422ede4f68
treeea0006cb4d704bc08c093b3350a2db9fa50513df
parentb0e53b007d95b74deca40152bed0255a7e806edf
bnxt_en: Fix ipv6 RFS filter matching logic.

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: dfe047769e71 ("bnxt_en: New Broadcom ethernet driver.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c