linux-stable/drivers/staging/octeon
Alexander Sverdlin 7dfd2c1eb3 staging: octeon: Drop on uncorrectable alignment or FCS error
commit 49d28ebdf1 upstream.

Currently in case of alignment or FCS error if the packet cannot be
corrected it's still not dropped. Report the error properly and drop the
packet while making the code around a little bit more readable.

Fixes: 80ff0fd3ab ("Staging: Add octeon-ethernet driver files.")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201016145630.41852-1-alexander.sverdlin@nokia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-10 10:24:01 +01:00
..
Kconfig
Makefile
ethernet-defines.h
ethernet-mdio.c
ethernet-mdio.h
ethernet-mem.c
ethernet-mem.h
ethernet-rgmii.c
ethernet-rx.c
ethernet-rx.h
ethernet-sgmii.c
ethernet-spi.c
ethernet-tx.c
ethernet-tx.h
ethernet-util.h
ethernet.c
octeon-ethernet.h