On Fri, May 18, 2018 at 09:47:53AM +0800, Marek Lindner wrote:
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 0a9bee88..148f23ad 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -583,6 +583,20 @@ struct batadv_hardif_neigh_node_bat_v {
/** @metric_work: work queue callback item for metric update */ struct work_struct metric_work;
- /**
* @tp_meter_running: tp meter measurements towards this neighbor in
* progress
*/
- unsigned char tp_meter_running:1;
I'm currently wondering: Would it make sense to prevent parallel tp meter execution not only to a specific neighbor but parallel executions on a hard-interface in general?