acrn-kernel/net/ipv4
Herbert Xu fb286bb299 [NET]: Detect hardware rx checksum faults correctly
Here is the patch that introduces the generic skb_checksum_complete
which also checks for hardware RX checksum faults.  If that happens,
it'll call netdev_rx_csum_fault which currently prints out a stack
trace with the device name.  In future it can turn off RX checksum.

I've converted every spot under net/ that does RX checksum checks to
use skb_checksum_complete or __skb_checksum_complete with the
exceptions of:

* Those places where checksums are done bit by bit.  These will call
netdev_rx_csum_fault directly.

* The following have not been completely checked/converted:

ipmr
ip_vs
netfilter
dccp

This patch is based on patches and suggestions from Stephen Hemminger
and David S. Miller.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-11-10 13:01:24 -08:00
..
ipvs [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
netfilter [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
Kconfig
Makefile
af_inet.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
ah4.c
arp.c
datagram.c
devinet.c [IPV4]: Fix setting broadcast for SIOCSIFNETMASK 2005-10-26 01:20:21 -02:00
esp4.c
fib_frontend.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
fib_hash.c
fib_lookup.h
fib_rules.c
fib_semantics.c
fib_trie.c
icmp.c [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
igmp.c [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
inet_connection_sock.c [TCP/DCCP]: Randomize port selection 2005-11-05 21:23:15 -02:00
inet_diag.c [NETLINK]: Make netlink_callback->done() optional 2005-11-10 02:26:40 +01:00
inet_hashtables.c
inet_timewait_sock.c
inetpeer.c
ip_forward.c
ip_fragment.c
ip_gre.c [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
ip_input.c
ip_options.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
ip_output.c [IPV4]: Fix ip_queue_xmit identity increment for TSO packets 2005-11-08 09:41:56 -08:00
ip_sockglue.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
ipcomp.c
ipconfig.c
ipip.c
ipmr.c
multipath.c
multipath_drr.c
multipath_random.c
multipath_rr.c
multipath_wrandom.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
netfilter.c
proc.c
protocol.c
raw.c
route.c
syncookies.c
sysctl_net_ipv4.c
tcp.c [TCP/DCCP]: Randomize port selection 2005-11-05 21:23:15 -02:00
tcp_bic.c [TCP]: BIC max increment too large 2005-11-02 21:24:01 -02:00
tcp_cong.c
tcp_diag.c
tcp_highspeed.c
tcp_htcp.c
tcp_hybla.c
tcp_input.c [TCP]: Clear stale pred_flags when snd_wnd changes 2005-10-27 15:11:04 -02:00
tcp_ipv4.c [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
tcp_minisocks.c
tcp_output.c
tcp_scalable.c
tcp_timer.c
tcp_vegas.c
tcp_westwood.c
udp.c [NET]: Detect hardware rx checksum faults correctly 2005-11-10 13:01:24 -08:00
xfrm4_input.c
xfrm4_output.c
xfrm4_policy.c
xfrm4_state.c
xfrm4_tunnel.c