lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d36d0e07-afbc-2cf5-1fde-0f1e381e5103@gmail.com>
Date:   Wed, 27 Jan 2021 20:41:02 -0700
From:   David Ahern <dsahern@...il.com>
To:     Ido Schimmel <idosch@...sch.org>, netdev@...r.kernel.org
Cc:     davem@...emloft.net, kuba@...nel.org, amcohen@...dia.com,
        roopa@...dia.com, sharpd@...dia.com, bpoirier@...dia.com,
        mlxsw@...dia.com, Ido Schimmel <idosch@...dia.com>
Subject: Re: [PATCH net-next 10/10] selftests: netdevsim: Add
 fib_notifications test

On 1/26/21 6:23 AM, Ido Schimmel wrote:
> From: Amit Cohen <amcohen@...dia.com>
> 
> Add test to check fib notifications behavior.
> 
> The test checks route addition, route deletion and route replacement for
> both IPv4 and IPv6.
> 
> When fib_notify_on_flag_change=0, expect single notification for route
> addition/deletion/replacement.
> 
> When fib_notify_on_flag_change=1, expect:
> - two notification for route addition/replacement, first without RTM_F_TRAP
>   and second with RTM_F_TRAP.
> - single notification for route deletion.
> 
> $ ./fib_notifications.sh
> TEST: IPv4 route addition                                           [ OK ]
> TEST: IPv4 route deletion                                           [ OK ]
> TEST: IPv4 route replacement                                        [ OK ]
> TEST: IPv6 route addition                                           [ OK ]
> TEST: IPv6 route deletion                                           [ OK ]
> TEST: IPv6 route replacement                                        [ OK ]
> 
> Signed-off-by: Amit Cohen <amcohen@...dia.com>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
>  .../net/netdevsim/fib_notifications.sh        | 300 ++++++++++++++++++
>  1 file changed, 300 insertions(+)
>  create mode 100755 tools/testing/selftests/drivers/net/netdevsim/fib_notifications.sh
> 


Reviewed-by: David Ahern <dsahern@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ