Hello folks,
after version 4 I decided to split the bug TT-VLAN batch in several patchsets to make them easier to get digested by the maintainers.
This is another iteration of the first patchset.
Differences from v5 are: - added "untagged VLAN" removal routine. In the previous code the "untagged VLAN" was added but never removed.
- use the correct vid argument when invoking batadv_tt_local_remove(). One invocation to the mentioned function was getting a vid that was not ORed with the HAS_TAG flag. However, such invocation has been enclosed into the new batadv_softif_destroy_vlan() function introduced to account the previous point.
- bat_priv->softif_vlan_list is now an hlist instead of of a list.
Thanks to Marek for his feedbacks.
Cheers,
Antonio Quartulli (2): batman-adv: add per VLAN interface attribute framework batman-adv: add sysfs framework for VLAN
compat.c | 9 +++ compat.h | 24 ++++++++ hard-interface.c | 2 + main.c | 5 +- soft-interface.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ soft-interface.h | 1 + sysfs.c | 142 +++++++++++++++++++++++++++++++++++++++++++++++ sysfs.h | 10 ++++ types.h | 21 +++++++ 9 files changed, 377 insertions(+), 3 deletions(-)