]> git.baikalelectronics.ru Git - kernel.git/commit
ocelot_ace: fix action of trap
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 21 Aug 2019 01:59:12 +0000 (09:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2019 22:44:24 +0000 (15:44 -0700)
commit08f73c5bb5ec8d8aeeb26ac8afdbd7158c31259a
tree18ded3f3dca27986833d708b087d2c73dd868e23
parent271398a643b262117ea44af9dfd0c7de4672d16f
ocelot_ace: fix action of trap

The trap action should be copying the frame to CPU and
dropping it for forwarding, but current setting was just
copying frame to CPU.

Fixes: e774494faed6 ("net: mscc: ocelot: Add support for tcam")
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Allan W. Nielsen <allan.nielsen@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_ace.c