Thread (46 messages) 46 messages, 5 authors, 2013-03-29

RE: Atheros Communications Inc. AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0) 1.0.0.7 md5/sha1 corrupted using NFS and samba (updated) Version 2

From: Huang, Xiong <hidden>
Date: 2013-03-24 04:54:48

quoted
	if (((pkt_flags & RRS_IS_IPV4) && ((pkt_flags & RRS_IS_TCP) ||
(pkt_flags & RRS_IS_UDP))) {
quoted
		if (pkt_flags & RRS_IS_802_3)
			head_len += 8;
		iph = (struct iphdr *) (packet + head_len);
		if ((iph->frag_off != 0 || (pkt_flags & RRS_IS_IP_FRAG))
&& !(pkt_flags & RRS_IS_IP_DF))
quoted
			goto hw_xsum;
	}
	if (!(err_flags & (RRS_ERR_IP_CSUM | RRS_ERR_L4_CSUM))) {
		skb->ip_summed = CHECKSUM_UNNECESSARY;
		return;
	}
Btw the captured corrupted packets are ordinary non-fragmented TCP IPv4
packets. But perhaps these flags are dual-use?
Not dual-use.  You could check  flags for corrupted packets and compare it with good packet.
Your corrupted packet is just TCP checksum error ?

Thanks
Xiong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help