Hi,
since the vis code and the bridge loop avoidance code already use
the kref library functions, I converted the remaining refcounting
code to use kref as well.
Regards,
Marek
Marek Lindner (4):
batman-adv: convert gw_node custom refcounting to kref functions
batman-adv: use rcu callbacks when freeing gw_nodes
batman-adv: convert batman_if custom refcounting to kref functions
batman-adv: use rcu callbacks when freeing batman_if
batman-adv/bat_sysfs.c | 12 ++++++------
batman-adv/gateway_client.c | 30 ++++++++++++++++--------------
batman-adv/hard-interface.c | 41 +++++++++++++++++++++++------------------
batman-adv/hard-interface.h | 13 ++++---------
batman-adv/types.h | 6 ++++--
5 files changed, 53 insertions(+), 49 deletions(-)
Hi,
the received comments motivated me to reword the commit messages to outline
that the loop is caused by bridging the payload traffic and not by the LAN
itself. Furthermore, the locking has been cleaned up and the neighbor list is
purged when the module is unloaded.
Let me know if you have additional questions,
Marek