diff options
author | Roy.Li <[email protected]> | 2011-09-26 09:08:00 +0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2011-09-27 17:33:06 +0200 |
commit | a4be637b34a543af5b5421a8ee0ee04d30f5f58e (patch) | |
tree | acaf6c4a5395be2ccb8e9e9429109bf9e7cc9827 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2f19d080fb14bdddf11bf54d4db6306235c46c99 (diff) |
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 <[email protected]>
To: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/2798/
Acked-by: David Daney <[email protected]>
Cc: Greg KH <[email protected]
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions