Re: [PATCH] net: bcmgenet: fix mask check in bcmgenet_validate_flow()

From: Florian Fainelli
Date: Wed Sep 02 2020 - 13:54:04 EST




On 9/2/2020 4:18 AM, Denis Efremov wrote:
VALIDATE_MASK(eth_mask->h_source) is checked twice in a row in
bcmgenet_validate_flow(). Add VALIDATE_MASK(eth_mask->h_dest)
instead.

Fixes: 3e370952287c ("net: bcmgenet: add support for ethtool rxnfc flows")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Denis Efremov <efremov@xxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian