All of lore.kernel.org
 help / color / mirror / Atom feed
From: chavey@google.com
To: chavey@google.com
Cc: netdev@vger.kernel.org, therbert@google.com
Subject: [PATCH 1/1] net-gre: clear skb->queue_mapping in GRE recv path
Date: Fri, 24 Sep 2010 16:15:48 -0700	[thread overview]
Message-ID: <pvm4oderavv.fsf@chavey.mtv.corp.google.com> (raw)

From: chavey <chavey@google.com>
Date: Fri, 24 Sep 2010 15:05:02 -0700

A continuous stream of errors:

  slbgre0 received packet on queue [123], but number of RX queues is 1
  net_ratelimit: 155786 callbacks suppressed

is filling up /var/log/messages.

This is due to not unsetting skb->queue_mapping in the GRE receive path.

Signed-off-by: chavey <chavey@google.com>
---
 net/ipv4/ip_gre.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index 945b20a..53bdb97 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -641,6 +641,7 @@ static int ipgre_rcv(struct sk_buff *skb)
 		}
 
 		skb_tunnel_rx(skb, tunnel->dev);
+		skb_set_queue_mapping(skb, 0);
 
 		skb_reset_network_header(skb);
 		ipgre_ecn_decapsulate(iph, skb);
-- 
1.7.1


             reply	other threads:[~2010-09-24 23:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 23:15 chavey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-09-24 23:18 [PATCH 1/1] net-gre: clear skb->queue_mapping in GRE recv path chavey
2010-09-25  6:46 ` Eric Dumazet

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=pvm4oderavv.fsf@chavey.mtv.corp.google.com \
    --to=chavey@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=therbert@google.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.