Closed haegar closed 7 years ago
(Using kernel 4.4.x currently)
nf_reinject() needs to be called with rcu lock held, as it calls rcu_dereference().
Otherwise it traps on a WARN_ON(!rcu_read_lock_held()) in dst.h when lockdep is enabled.
WARNING: CPU: 3 PID: 0 at include/net/dst.h:319 __xfrm_route_forward+0x138/0x170()
linux-imq-rcu.diff.txt
(Using kernel 4.4.x currently)
nf_reinject() needs to be called with rcu lock held, as it calls rcu_dereference().
Otherwise it traps on a WARN_ON(!rcu_read_lock_held()) in dst.h when lockdep is enabled.
WARNING: CPU: 3 PID: 0 at include/net/dst.h:319 __xfrm_route_forward+0x138/0x170()
linux-imq-rcu.diff.txt