Madhuparna Bhowmik 93ad0f969f net: wan: lapbether.c: Use built-in RCU list checking
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-16 14:30:52 +01:00
..
2020-01-03 12:11:30 -08:00
2019-12-01 18:43:25 -08:00
2019-12-27 11:02:48 -08:00
2019-12-10 23:15:09 +01:00
2019-12-15 14:58:13 -08:00
2019-12-20 10:42:25 -08:00
2019-11-30 14:35:43 -08:00
2019-12-01 18:42:02 -08:00
2019-12-13 14:27:19 -08:00
2020-01-04 10:41:08 -08:00
2019-12-06 08:28:51 -08:00
2019-12-03 13:58:22 -08:00
2019-12-03 14:37:12 -08:00
2019-12-21 06:17:05 -08:00
2019-12-03 14:09:14 -08:00
2020-01-13 18:50:18 -08:00
2019-12-01 18:43:25 -08:00
2019-12-13 14:27:19 -08:00
2019-12-05 11:43:31 -08:00
2019-11-25 19:40:40 -08:00
2019-12-05 11:43:31 -08:00
2020-01-04 14:16:57 -08:00
2019-12-05 11:28:14 -08:00
2020-01-06 12:04:31 -08:00
2019-12-01 18:39:24 -08:00
2019-12-27 17:28:41 -08:00
2020-01-06 12:34:44 -08:00
2020-01-04 10:41:08 -08:00
2019-12-27 17:28:41 -08:00
2019-12-05 13:18:54 -08:00
2019-12-07 14:51:04 -08:00
2019-12-03 13:58:22 -08:00
2019-11-14 13:06:33 +08:00
2019-12-21 06:24:56 -08:00