lkml.org 
[lkml]   [2001]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: 2.4.0-pre3+zerocopy: weird messages

Petru Paler writes:
> > Oh, I think I know why this happens. Can you add this patch, and next
> > time the UDP bad csum message appears, tell me if it says "UDP packet
> > with bad csum was fragmented." in the next line of your syslog
> > messages? Thanks.
>
> Sure, but I also need the actual patch :)

Duh, here it is :-)

--- net/ipv4/udp.c.~1~ Thu Jan 11 10:20:40 2001
+++ net/ipv4/udp.c Sun Jan 14 02:58:07 2001
@@ -855,6 +855,8 @@
if (!udp_check(uh, ulen, saddr, daddr, skb->csum))
return 0;
NETDEBUG(printk(KERN_DEBUG "udp v4 hw csum failure.\n"));
+ if (skb_shinfo(skb)->frag_list != NULL)
+ printk(KERN_DEBUG "UDP packet with bad csum was fragmented.\n");
skb->ip_summed = CHECKSUM_NONE;
}
if (skb->ip_summed != CHECKSUM_UNNECESSARY)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.035 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site