[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpUHLy8mxcztVKAcRz22-VeDUHwTV5g5UgmxUhQx8hQ9Gw@mail.gmail.com>
Date: Tue, 23 Nov 2021 17:05:14 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: David Ahern <dsahern@...il.com>
Cc: Hangbin Liu <liuhangbin@...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 16, 2021 at 8:15 PM David Ahern <dsahern@...il.com> wrote:
>
> On 11/16/21 8:19 PM, Hangbin Liu 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!
Powered by blists - more mailing lists