netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Frank van Maarseveen <frankvm@frankvm.com>
Cc: linux-kernel@vger.kernel.org,
	Kernel Netdev Mailing List <netdev@vger.kernel.org>
Subject: Re: 2.6.17-rc4: netfilter LOG messages truncated via NETCONSOLE (2)
Date: Fri, 02 Jun 2006 16:16:08 +0200	[thread overview]
Message-ID: <44804828.2050909@trash.net> (raw)
In-Reply-To: <20060602140212.GA7881@janus>

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

Frank van Maarseveen wrote:
> The 2.6.13.2 data is inconsistent. The bug appears to be present there at
> well after closer examination. So there must be another factor involved
> because I have at least one case logged where 2.6.13.2 did work (the
> "sirkka" log in my previous mail). Applying your patch on 2.6.13.2
> again removes the protocol is buggy messages (when doing a tcpdump)
> but the problem of the 10 missing packets persists.

Which network driver are you using? Does this patch show anything in
the ringbuffer?


[-- Attachment #2: x --]
[-- Type: text/plain, Size: 389 bytes --]

diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index e8e05ce..2b12280 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -302,6 +302,9 @@ static void netpoll_send_skb(struct netp
 		netpoll_poll(np);
 		udelay(50);
 	} while (npinfo->tries > 0);
+
+	printk("failed to transmit\n");
+	kfree_skb(skb);
 }
 
 void netpoll_send_udp(struct netpoll *np, const char *msg, int len)

  reply	other threads:[~2006-06-02 14:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060531094626.GA23156@janus>
2006-05-31 14:57 ` 2.6.17-rc4: netfilter LOG messages truncated via NETCONSOLE Patrick McHardy
2006-05-31 16:06   ` Frank van Maarseveen
2006-05-31 16:36     ` Patrick McHardy
2006-05-31 17:29       ` Frank van Maarseveen
2006-05-31 17:46         ` Patrick McHardy
2006-05-31 18:20           ` Frank van Maarseveen
2006-06-01  9:11           ` Frank van Maarseveen
2006-06-01 17:34             ` Patrick McHardy
2006-06-02 12:35               ` Frank van Maarseveen
2006-06-02 14:02                 ` 2.6.17-rc4: netfilter LOG messages truncated via NETCONSOLE (2) Frank van Maarseveen
2006-06-02 14:16                   ` Patrick McHardy [this message]
2006-06-02 14:39                     ` Frank van Maarseveen

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=44804828.2050909@trash.net \
    --to=kaber@trash.net \
    --cc=frankvm@frankvm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).