WSL2-Linux-Kernel/drivers/staging/octeon
Alexander Sverdlin 49d28ebdf1 staging: octeon: Drop on uncorrectable alignment or FCS error
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-10-27 13:18:50 +01:00
..
Kconfig
Makefile
TODO
ethernet-defines.h staging: octeon: Indent with tabs instead of spaces 2020-07-23 20:34:34 +02:00
ethernet-mdio.c staging: octeon: repair "fixed-link" support 2020-10-27 13:18:34 +01:00
ethernet-mdio.h net: phy: mdio-octeon: Cleanup module loading dependencies 2020-07-07 12:47:11 -07:00
ethernet-mem.c
ethernet-mem.h
ethernet-rgmii.c
ethernet-rx.c staging: octeon: Drop on uncorrectable alignment or FCS error 2020-10-27 13:18:50 +01:00
ethernet-rx.h
ethernet-sgmii.c
ethernet-spi.c
ethernet-tx.c treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2020-07-30 11:15:58 -07:00
ethernet-tx.h
ethernet-util.h
ethernet.c staging: octeon: repair "fixed-link" support 2020-10-27 13:18:34 +01:00
octeon-ethernet.h
octeon-stubs.h staging: octeon: Add the license identifier 2020-07-23 20:34:34 +02:00