All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Haley <brian.haley@hp.com>
To: David Stevens <dlstevens@us.ibm.com>
Cc: Vlad Yasevich <vladislav.yasevich@hp.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	netdev@vger.kernel.org, netdev-owner@vger.kernel.org
Subject: Re: multicast: bug or "feature"
Date: Fri, 19 Oct 2007 16:39:24 -0400	[thread overview]
Message-ID: <471915FC.1000604@hp.com> (raw)
In-Reply-To: <OFC9CC5B3C.F6B38A10-ON88257379.006F6FDE-88257379.006FE742@us.ibm.com>

Hi David,

David Stevens wrote:
>         From looking at the code, it appears that validate
> source is failing just because of the rp_filter. Do you have
> rp_filter set to nonzero?
>         If so, it may do what you want just by setting that
> to 0:
> 
> sysctl -w net.ipv4.conf.all.rp_filter=0

rp_filter is set to zero, it's the "if (res.type != RTN_UNICAST)" check 
in fib_validate_source() that's doing it.  If I add a new 
"accept_local_addr" sysctl to ipv4_devconf to allow RTN_LOCAL here, 
everything works just fine.  I just don't know how palatable that would 
be to upstream...

-Brian

  reply	other threads:[~2007-10-19 20:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17 19:58 multicast: bug or "feature" Vlad Yasevich
2007-10-17 20:10 ` David Stevens
2007-10-17 20:23   ` Vlad Yasevich
2007-10-17 20:29     ` David Stevens
2007-10-17 21:25       ` Vlad Yasevich
2007-10-17 23:11         ` David Stevens
2007-10-18  1:20           ` Vlad Yasevich
     [not found] ` <47166BD5.7090207@hp.com>
2007-10-17 20:19   ` Vlad Yasevich
2007-10-18 16:17 ` Vlad Yasevich
2007-10-19 11:43   ` Herbert Xu
2007-10-19 15:21     ` David Stevens
2007-10-19 16:49       ` Vlad Yasevich
2007-10-19 17:43         ` David Stevens
2007-10-19 18:43           ` Vlad Yasevich
2007-10-19 20:23             ` David Stevens
2007-10-19 20:39               ` Brian Haley [this message]
2007-10-19 21:25                 ` David Stevens

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=471915FC.1000604@hp.com \
    --to=brian.haley@hp.com \
    --cc=dlstevens@us.ibm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev-owner@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=vladislav.yasevich@hp.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.