On Monday 31 March 2014 13:48:10 Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
The MAC address of the soft-interface is used to initialise the "non-purge" TT entry of each existing VLAN. Therefore when the user invokes ndo_set_mac_address() all the "non-purge" TT entries have to be updated, not only the one belonging to the non-tagged network.
Signed-off-by: Antonio Quartulli antonio@open-mesh.com
Changes from v2:
- don't increment/decrement vlan->refcounter because we never use the vlan object outside of the rcu_read_lock/unlock area
changes from v1:
- declare vlan variable
soft-interface.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
Applied in revision 31f3914.
Thanks, Marek