tcp_hdr_csum = csum_partial((u8 *)tcph, TCP_HDR_LEN(tcph), tcp_csum); tcp_ps_hdr_csum = csum_tcpudp_nofold(iph->saddr, iph->daddr, len + TCP_HDR_LEN(tcph), IPPROTO_TCP,0);returncsum_sub(csum_sub(tcp_csum, tcp_hdr_csum), tcp_ps_hdr_csum); } 开发者ID:LouZiffer,项...
which was added in commitd47f6ca. My guess of what happened is libblkid detected at least two superblocks on the device only one of which had a good checksum and the others had a bad checksum. When the flag BLKID_SUBLKS_BADCSUM was used blkid returns -2 but without ...