Netdev List
 help / color / mirror / Atom feed
From: Hangbin Liu <liuhangbin@gmail.com>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: David Ahern <dsahern@gmail.com>,
	Linux Kernel Network Developers <netdev@vger.kernel.org>,
	Peilin Ye <yepeilin.cs@gmail.com>
Subject: Re: [Patch net v3 2/2] selftests: add a test case for rp_filter
Date: Wed, 24 Nov 2021 09:43:08 +0800	[thread overview]
Message-ID: <YZ2YrPGJSEm8UAiv@Laptop-X1> (raw)
In-Reply-To: <CAM_iQpUHLy8mxcztVKAcRz22-VeDUHwTV5g5UgmxUhQx8hQ9Gw@mail.gmail.com>

On Tue, Nov 23, 2021 at 05:05:14PM -0800, Cong Wang wrote:
> > > On Sun, Nov 14, 2021 at 09:08:41PM -0800, Cong Wang wrote:
> > >>> Hi Wang Cong,
> > >>>
> > >>> Have you tried this test recently? I got this test failed for a long time.
> > >>> Do you have any idea?
> > >>>
> > >>> IPv4 rp_filter tests
> > >>>     TEST: rp_filter passes local packets                                [FAIL]
> > >>>     TEST: rp_filter passes loopback packets                             [FAIL]
> > >>
> > >> Hm, I think another one also reported this before, IIRC, it is
> > >> related to ping version or cmd option. Please look into this if
> > >> you can, otherwise I will see if I can reproduce this on my side.
> > >
> > > I tried both iputils-s20180629 and iputils-20210722 on 5.15.0. All tests
> > > failed. Not sure where goes wrong.
> > >
> >
> > no idea. If you have the time can you verify that indeed the failure is
> > due to socket lookup ... ie., no raw socket found because of the bind to
> > device setting. Relax that and it should work which is indicative of the
> > cmsg bind works but SO_BINDTODEVICE does not.
> 
> My colleague Peilin is now looking into this.

Thanks Wang Cong and Peilin. Sorry I didn't get time to check on this
issue.

Thanks
Hangbin

  reply	other threads:[~2021-11-24  1:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-17 21:41 [Patch net v3 0/2] ipv4: relax source validation check for loopback packets Cong Wang
2019-07-17 21:41 ` [Patch net v3 1/2] fib: " Cong Wang
2019-07-17 21:59   ` David Ahern
2019-07-17 21:41 ` [Patch net v3 2/2] selftests: add a test case for rp_filter Cong Wang
2019-07-17 21:54   ` David Ahern
2021-11-10  9:18   ` Hangbin Liu
2021-11-15  5:08     ` Cong Wang
2021-11-15 16:06       ` David Ahern
2021-11-17  3:19       ` Hangbin Liu
2021-11-17  4:15         ` David Ahern
2021-11-24  1:05           ` Cong Wang
2021-11-24  1:43             ` Hangbin Liu [this message]
2021-11-29  6:40               ` Peilin Ye
2019-07-17 22:23 ` [Patch net v3 0/2] ipv4: relax source validation check for loopback packets David Miller

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=YZ2YrPGJSEm8UAiv@Laptop-X1 \
    --to=liuhangbin@gmail.com \
    --cc=dsahern@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    --cc=yepeilin.cs@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox