diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2022-04-09 20:41:43 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-11 20:47:15 -0700 |
commit | 269219321eb7d7645a3122cf40a420c5dc655eb9 (patch) | |
tree | 8d2ec3804428f290a4ee013ba02173407cf7d5d0 /net/dsa/dsa2.c | |
parent | d7a947d289dc205fc717c004dcebe33b15305afd (diff) |
net: lan966x: Stop processing the MAC entry is port is wrong.
Currently when getting a new MAC is learn, the HW generates an
interrupt. So then the SW will check the new entry and checks if it
arrived on a correct port. If it didn't just generate a warning.
But this could still crash the system. Therefore stop processing that
entry when an issue is seen.
Fixes: 5ccd66e01cbef8 ("net: lan966x: add support for interrupts from analyzer")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/dsa2.c')
0 files changed, 0 insertions, 0 deletions