Re: [PATCH net] ipv4: ensure rcu_read_lock() in cipso_v4_error()
From: David Miller
Date: Sun Feb 23 2020 - 00:47:22 EST
From: Matteo Croce <mcroce@xxxxxxxxxx>
Date: Fri, 21 Feb 2020 12:28:38 +0100
> Similarly to commit c543cb4a5f07 ("ipv4: ensure rcu_read_lock() in
> ipv4_link_failure()"), __ip_options_compile() must be called under rcu
> protection.
>
> Fixes: 3da1ed7ac398 ("net: avoid use IPCB in cipso_v4_error")
> Suggested-by: Guillaume Nault <gnault@xxxxxxxxxx>
> Signed-off-by: Matteo Croce <mcroce@xxxxxxxxxx>
Applied and queued up for -stable, thanks.