linux/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
..
cvmx-address.h
cvmx-asxx-defs.h
cvmx-cmd-queue.c staging/trivial: fix typos concerning "initiali[zs]e" 2010-06-22 14:58:01 -07:00
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 Staging: fix typos concerning "address" 2010-07-22 14:43:10 -07:00
cvmx-fpa-defs.h
cvmx-fpa.c staging/trivial: fix typos concerning "access" 2010-09-04 21:23:25 -07:00
cvmx-fpa.h Fix common misspellings 2011-03-31 11:26:23 -03:00
cvmx-gmxx-defs.h
cvmx-helper-board.c staging: octeon: Remove USB code 2010-10-14 12:14:09 -07:00
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 Staging: Octeon: Free transmit SKBs in a timely manner 2010-02-27 12:53:30 +01:00
ethernet-mdio.c staging: octeon: use printk_ratelimited instead of printk_ratelimit 2011-06-28 14:29:19 -07:00
ethernet-mdio.h Staging: octeon: remove unneeded includes 2010-02-27 12:53:28 +01:00
ethernet-mem.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
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 Staging: Octeon Ethernet: Convert to NAPI. 2010-02-27 12:53:08 +01:00
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 Staging: Octeon: Free transmit SKBs in a timely manner 2010-02-27 12:53:30 +01:00
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 staging: octeon: use free_netdev(netdev) instead of kfree() 2010-09-30 04:14:20 -07:00
Kconfig Staging: octeon: depends on NETDEVICES 2010-09-03 17:37:16 -07:00
Makefile Staging: octeon: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:47 -07:00
octeon-ethernet.h Staging: Octeon: Reformat a bunch of comments. 2010-02-27 12:53:30 +01:00