From: Maxime Bizon <mbizon@freebox.fr>
To: Julian Anastasov <ja@ssi.bg>
Cc: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: 3.6 routing cache regression, multicast loopback broken
Date: Thu, 22 Nov 2012 15:04:16 +0100 [thread overview]
Message-ID: <1353593056.8285.24.camel@sakura.staff.proxad.net> (raw)
In-Reply-To: <alpine.LFD.2.00.1211210055040.1751@ja.ssi.bg>
On Wed, 2012-11-21 at 02:35 +0200, Julian Anastasov wrote:
Hi,
> Do you also have CONFIG_IP_MROUTE enabled? I see the
I don't
> problem with caching both "RTCF_MULTICAST | RTCF_LOCAL" and
> "RTCF_MULTICAST" flags to same place but I'm not sure in the
> sequence of route lookups for your setup. ip_mc_output does
> not care about RTCF_LOCAL when CONFIG_IP_MROUTE is disabled,
> so in this case it should loop the packet even on wrong
> caching (without RTCF_LOCAL flag).
but the problem here was that dst was using ip_output() instead of
ip_mc_output().
> Can you try the following patch. If it does not
> solve the problem we have to add some debugs in __mkroute_output.
> And I'm not sure if this is fatal only when CONFIG_IP_MROUTE
> is enabled, I have to spend more time to check the code.
> As an optimization, the patch avoids lookup for fnhe
> when multicast is not cached because multicasts are
> not redirected and they do not learn PMTU.
>
> The patch is not tested. I'll update the commit
> message after your tests.
the patch fixes the problem, and it looks valid to me.
thanks !
--
Maxime
prev parent reply other threads:[~2012-11-22 19:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-05 16:37 3.6 routing cache regression, multicast loopback broken Maxime Bizon
2012-11-21 0:35 ` Julian Anastasov
2012-11-21 17:25 ` David Miller
2012-11-22 14:04 ` Maxime Bizon [this message]
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=1353593056.8285.24.camel@sakura.staff.proxad.net \
--to=mbizon@freebox.fr \
--cc=davem@davemloft.net \
--cc=ja@ssi.bg \
--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).