acrn-kernel/drivers/staging/octeon
Roy.Li a4be637b34 staging/octeon: Software should check the checksum of no tcp/udp packets
Icmp packets with wrong checksum are never dropped since skb->ip_summed is
set to CHECKSUM_UNNECESSARY.

When icmp packets with wrong checksum pass through the octeon net driver,
the not_IP, IP_exc, L4_error hardware indicators show no error. so the
driver sets CHECKSUM_UNNECESSARY on skb->ip_summed.

L4_error only works for TCP/UDP, not for ICMP.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
To: linux-mips@linux-mips.org
Cc: netdev@vger.kernel.org
Cc: ralf@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2798/
Acked-by: David Daney <david.daney@cavium.com>
Cc: Greg KH <greg@kroah.com
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2011-09-27 17:33:06 +02:00
..
Kconfig
Makefile
cvmx-address.h
cvmx-asxx-defs.h
cvmx-cmd-queue.c
cvmx-cmd-queue.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-config.h
cvmx-dbg-defs.h
cvmx-fau.h
cvmx-fpa-defs.h
cvmx-fpa.c
cvmx-fpa.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-gmxx-defs.h
cvmx-helper-board.c
cvmx-helper-board.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-helper-fpa.c
cvmx-helper-fpa.h
cvmx-helper-loop.c
cvmx-helper-loop.h
cvmx-helper-npi.c
cvmx-helper-npi.h
cvmx-helper-rgmii.c
cvmx-helper-rgmii.h
cvmx-helper-sgmii.c
cvmx-helper-sgmii.h
cvmx-helper-spi.c
cvmx-helper-spi.h
cvmx-helper-util.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-helper-util.h
cvmx-helper-xaui.c
cvmx-helper-xaui.h
cvmx-helper.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-helper.h
cvmx-interrupt-decodes.c
cvmx-interrupt-rsl.c
cvmx-ipd.h
cvmx-mdio.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-packet.h
cvmx-pcsx-defs.h
cvmx-pcsxx-defs.h
cvmx-pip-defs.h
cvmx-pip.h
cvmx-pko-defs.h
cvmx-pko.c staging: octeon: change a typo comamnd to command 2011-02-04 13:01:03 -08:00
cvmx-pko.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-pow.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-scratch.h
cvmx-smix-defs.h
cvmx-spi.c
cvmx-spi.h
cvmx-spxx-defs.h
cvmx-srxx-defs.h
cvmx-stxx-defs.h
cvmx-wqe.h
ethernet-defines.h
ethernet-mdio.c staging: octeon: use printk_ratelimited instead of printk_ratelimit 2011-06-28 14:29:19 -07:00
ethernet-mdio.h
ethernet-mem.c
ethernet-mem.h
ethernet-rgmii.c staging: octeon-ethernet: Add missing #includes. 2011-08-23 15:35:16 -07:00
ethernet-rx.c staging/octeon: Software should check the checksum of no tcp/udp packets 2011-09-27 17:33:06 +02:00
ethernet-rx.h
ethernet-sgmii.c staging: octeon: use printk_ratelimited instead of printk_ratelimit 2011-06-28 14:29:19 -07:00
ethernet-spi.c staging: octeon-ethernet: Add missing #includes. 2011-08-23 15:35:16 -07:00
ethernet-tx.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
ethernet-tx.h
ethernet-util.h staging: octeon: use printk_ratelimited instead of printk_ratelimit 2011-06-28 14:29:19 -07:00
ethernet-xaui.c staging: octeon: use printk_ratelimited instead of printk_ratelimit 2011-06-28 14:29:19 -07:00
ethernet.c
octeon-ethernet.h