[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YZ2YrPGJSEm8UAiv@Laptop-X1>
Date: Wed, 24 Nov 2021 09:43:08 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: David Ahern <dsahern@...il.com>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
Peilin Ye <yepeilin.cs@...il.com>
Subject: Re: [Patch net v3 2/2] selftests: add a test case for rp_filter
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
Powered by blists - more mailing lists