On 04/12/2019 05:24 PM, David Miller wrote:
> From: Stephen Suryaputra <ssuryae...@gmail.com>
> Date: Fri, 12 Apr 2019 16:19:27 -0400
> 
>> Recompile IP options since IPCB may not be valid anymore when
>> ipv4_link_failure is called from arp_error_report.
>>
>> Refer to the commit 3da1ed7ac398 ("net: avoid use IPCB in cipso_v4_error")
>> and the commit before that (9ef6b42ad6fd) for a similar issue.
>>
>> Signed-off-by: Stephen Suryaputra <ssuryae...@gmail.com>
> 
> Applied.
> 

I believe __ip_options_compile() needs to be called from rcu_read_lock()

I will send a fix.

Reply via email to