- 论坛徽章:
- 0
|
最近系统不稳,发现了这么个报错,udp v4 hw csum failure
我看了下src 中的/net/ipv4/udp.c该报错信息出现在这个函数中
/* Initialize UDP checksum. If exited with zero value (success),
* CHECKSUM_UNNECESSARY means, that no more checks are required.
* Otherwise, csum completion requires chacksumming packet body,
* including udp header and folding it to skb->;csum.
*/
static int udp_checksum_init(struct sk_buff *skb, struct udphdr *uh,
unsigned short ulen, u32 saddr, u32 daddr)
{
if (uh->;check == 0) {
skb->;ip_summed = CHECKSUM_UNNECESSARY;
} else if (skb->;ip_summed == CHECKSUM_HW) {
skb->;ip_summed = CHECKSUM_UNNECESSARY;
if (!udp_check(uh, ulen, saddr, daddr, skb->;csum))
return 0;
NETDEBUG(if (net_ratelimit()) printk(KERN_DEBUG "udp v4 hw csum failure.\n" );
skb->;ip_summed = CHECKSUM_NONE;
}
if (skb->;ip_summed != CHECKSUM_UNNECESSARY)
skb->;csum = csum_tcpudp_nofold(saddr, daddr, ulen, IPPROTO_UDP, 0);
/* Probably, we should checksum udp header (it should be in cache
* in any case) and data in tiny packets (< rx copybreak).
*/
return 0;
}
在demsg中察看启动时情景网卡起来后下面紧接着就报
网卡的流量控制失败,RX 和TX都无法起流量控制
而后就是一长串的
udp v4 hw csum failure
请XDJM们帮忙看看
系统是REDHAT AS 3的 |
|