OpenCloudOS-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 Revert "staging/octeon: Mark Ethernet driver as BROKEN" 2020-02-12 13:50:33 -08:00
Makefile Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
TODO Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
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 Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-mem.h Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-rgmii.c Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-rx.c staging: octeon: Drop on uncorrectable alignment or FCS error 2020-10-27 13:18:50 +01:00
ethernet-rx.h Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-sgmii.c Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-spi.c Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-tx.c treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2020-07-30 11:15:58 -07:00
ethernet-tx.h Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet-util.h Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
ethernet.c staging: octeon: repair "fixed-link" support 2020-10-27 13:18:34 +01:00
octeon-ethernet.h Revert "staging: octeon: delete driver" 2020-02-12 13:50:32 -08:00
octeon-stubs.h staging: octeon: Add the license identifier 2020-07-23 20:34:34 +02:00