net: microchip: sparx5: Discard frames with SMAC multicast addresses
authorSteen Hegelund <steen.hegelund@microchip.com>
Tue, 14 Feb 2023 10:40:40 +0000 (11:40 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 16 Feb 2023 07:59:48 +0000 (08:59 +0100)
commit65b6625069a42edf2a813dd1c50604c6c6236fe5
treec770012583cb1e1df4e515a7bd8fd6a2aca84c0c
parent72bc7f163179cb0b39e1a18dbf69e175267ce500
net: microchip: sparx5: Discard frames with SMAC multicast addresses

A valid frame should never use a multicast address as its source MAC
address, so discard these invalid frames.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/sparx5/sparx5_port.c