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  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]
Date:   Wed, 8 Jan 2020 11:33:45 -0700
From:   David Ahern <>
To:     Ido Schimmel <>,
Cc:,,,,, Ido Schimmel <>
Subject: Re: [PATCH net-next 01/10] ipv4: Replace route in list before

On 1/7/20 8:45 AM, Ido Schimmel wrote:
> From: Ido Schimmel <>
> Subsequent patches will add an offload / trap indication to routes which
> will signal if the route is present in hardware or not.
> After programming the route to the hardware, drivers will have to ask
> the IPv4 code to set the flags by passing the route's key.
> In the case of route replace, the new route is notified before it is
> actually inserted into the FIB alias list. This can prevent simple
> drivers (e.g., netdevsim) that program the route to the hardware in the
> same context it is notified in from being able to set the flag.
> Solve this by first inserting the new route to the list and rollback the
> operation in case the route was vetoed.
> Signed-off-by: Ido Schimmel <>
> Reviewed-by: Jiri Pirko <>
> ---
>  net/ipv4/fib_trie.c | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)

Reviewed-by: David Ahern <>

Powered by blists - more mailing lists