mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: ppetru@ppetru.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: sparc64 network-related problems
Date: Sun, 10 Dec 2000 02:38:28 -0800	[thread overview]
Message-ID: <200012101038.CAA06747@pizda.ninka.net> (raw)
In-Reply-To: <20001210105553.E728@ppetru.net> (message from Petru Paler on Sun, 10 Dec 2000 10:55:53 +0200)
In-Reply-To: <20001210105553.E728@ppetru.net>

   Date: Sun, 10 Dec 2000 10:55:53 +0200
   From: Petru Paler <ppetru@ppetru.net>

   [5.] Output of Oops.. message (if applicable) with symbolic information
	resolved (see Documentation/oops-tracing.txt)                                               

   This is only one of the repeated oopses, if you need all of them I will
   make the logs available.

Is this always the _first_ OOPS though?  That is what is important,
because after the first OOPS all the others are likely just side
effects of the first one.

Anyways, if it is always the first OOPS, the following debugging patch
may help because this case is the only way that OOPS could possibly
happen all by itself.

--- net/ipv4/tcp.c.~1~	Tue Nov 28 08:33:08 2000
+++ net/ipv4/tcp.c	Sun Dec 10 02:36:43 2000
@@ -1014,6 +1014,14 @@
 
 			/* Determine how large of a buffer to allocate.  */
 			tmp = MAX_TCP_HEADER + 15 + tp->mss_cache;
+#if 1
+			if (copy > tmp) {
+				printk("TCP: MSS out of sync copy(%d) tmp(%d) "
+				       "mss_now(%d) mss_cache(%d)\n",
+				       copy, tmp, mss_now, tp->mss_cache);
+				copy = tmp - (MAX_TCP_HEADER + 15);
+			}
+#endif
 			if (copy < mss_now && !(flags & MSG_OOB)) {
 				/* What is happening here is that we want to
 				 * tack on later members of the users iovec
-
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/

  reply	other threads:[~2000-12-10 11:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-10 11:10 Petru Paler
2000-12-10  8:55 ` Petru Paler
2000-12-10 10:38   ` David S. Miller [this message]
2000-12-10 10:57     ` David S. Miller
2000-12-10 11:19       ` Petru Paler
2000-12-24  7:27       ` 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=200012101038.CAA06747@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®