mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Petru Paler <ppetru@ppetru.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.0-pre3+zerocopy: weird messages
Date: Sun, 14 Jan 2001 03:32:40 -0800 (PST)	[thread overview]
Message-ID: <14945.36440.59585.376942@pizda.ninka.net> (raw)
In-Reply-To: <20010114132845.F1394@ppetru.net>
In-Reply-To: <20010114121105.B1394@ppetru.net> <14945.32886.671619.99921@pizda.ninka.net> <20010114124549.D1394@ppetru.net> <14945.34414.185794.396720@pizda.ninka.net> <20010114132845.F1394@ppetru.net>


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/

  parent reply	other threads:[~2001-01-14 11:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-14 10:11 Petru Paler
2001-01-14 10:33 ` David S. Miller
2001-01-14 10:45   ` Petru Paler
2001-01-14 10:58   ` David S. Miller
2001-01-14 11:28     ` Petru Paler
2001-01-14 11:32     ` David S. Miller [this message]
2001-01-14 12:10       ` Petru Paler
2001-01-14 13:12         ` Petru Paler
2001-01-14 13:21         ` David S. Miller
2001-01-14 18:08           ` Petru Paler
2001-01-15  5:20           ` Petru Paler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14945.36440.59585.376942@pizda.ninka.net \
    --to=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ppetru@ppetru.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®