Matteo Croce b4176d3b1a ipv4: ensure rcu_read_lock() in cipso_v4_error()
commit 3e72dfdf8227b052393f71d820ec7599909dddc2 upstream.

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@redhat.com>
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-20 11:56:00 +01:00
..
2019-10-11 18:21:12 +02:00
2019-06-22 08:15:13 +02:00
2019-12-05 09:21:30 +01:00
2020-01-17 19:47:07 +01:00
2018-07-24 14:10:42 -07:00
2020-01-29 16:43:24 +01:00
2019-01-09 17:38:33 +01:00
2018-07-24 14:10:43 -07:00
2020-01-17 19:47:07 +01:00