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

From: David Miller
Date: Wed Sep 02 2020 - 15:55:01 EST


From: Denis Efremov <efremov@xxxxxxxxx>
Date: Wed, 2 Sep 2020 14:18:45 +0300

> 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>

Please do not CC: stable for networking patches.

Applied and queued up for -stable, thank you.