On Donnerstag, 10. Mai 2018 16:41:37 CEST Marek Lindner wrote:
rcu_read_lock(); hlist_for_each_entry_rcu(vlan, &bat_priv->softif_vlan_list, list) {
vlan_entries = atomic_read(&vlan->tt.num_entries);
if (vlan_entries < 1)
continue;
num_vlan++;
num_entries += atomic_read(&vlan->tt.num_entries);
total_entries += vlan_entries; }
Please submit it on top of the maint branch before submitting it the next time. The rcu_read_lock isn't there anymore.
The rest also applies only with some offsets (which sound like you have some other modifications in your branch).
Kind regards, Sven