From: madhuparnabhowmik04@xxxxxxxxx Date: Wed, 15 Jan 2020 17:11:01 +0530 > From: Madhuparna Bhowmik <madhuparnabhowmik04@xxxxxxxxx> > > The only callers of the function lapbeth_get_x25_dev() > are lapbeth_rcv() and lapbeth_device_event(). > > lapbeth_rcv() uses rcu_read_lock() whereas lapbeth_device_event() > is called with RTNL held (As mentioned in the comments). > > Therefore, pass lockdep_rtnl_is_held() as cond argument in > list_for_each_entry_rcu(); > > Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04@xxxxxxxxx> Applied.